Variables
Const rest
rest
: (<P, R>(url
: OptionFactory<P, string>, options
?: RestOptions<P>) => Resolver<P, R>) & { configs
: ((configs
: RestConfigs) => { $rest
: RestConfigs }); delete
: (<P, R>(url
: string, options
?: Omit<RestOptions<P>, "method">) => Resolver<P, R>); get
: (<P, R>(url
: string, options
?: Omit<RestOptions<P>, "method">) => Resolver<P, R>); head
: (<P, R>(url
: string, options
?: Omit<RestOptions<P>, "method">) => Resolver<P, R>); options
: (<P, R>(url
: string, options
?: Omit<RestOptions<P>, "method">) => Resolver<P, R>); patch
: (<P, R>(url
: string, options
?: Omit<RestOptions<P>, "method">) => Resolver<P, R>); post
: (<P, R>(url
: string, options
?: Omit<RestOptions<P>, "method">) => Resolver<P, R>); put
: (<P, R>(url
: string, options
?: Omit<RestOptions<P>, "method">) => Resolver<P, R>) } = ...
create a dispatcher that works with RESTful API