split url and searchParams allow for post option

This commit is contained in:
arc-alex
2023-12-05 17:46:44 +01:00
parent 7f095f0f06
commit 54ab8d4ffe
4 changed files with 50 additions and 17 deletions
@@ -1,6 +1,7 @@
import { Subscription } from './Subscription.type.js';
export type HttpSubscriptionOptions = { message: string; enabled: boolean };
type httpMethod = 'GET' | 'POST';
export type HttpSubscriptionOptions = { url: string; options: string; enabled: boolean; method: httpMethod };
export type HttpSubscription = Subscription<HttpSubscriptionOptions>;
export interface HttpSettings {