FetchClient
Constructor Summary
Public Constructor | ||
public |
constructor(options: *, store: *, http: *) |
Method Summary
Public Methods | ||
public |
buildOptions(method: *, path: *, opts: *): * |
|
public |
formatUrl(path: *): * |
|
public |
genericMethod(method: *, path: *, opts: {}): * |
|
public |
isExternal(path: *): * |
|
public |
setHTTP(http: *) |
Public Constructors
public constructor(options: *, store: *, http: *) source
Params:
Name | Type | Attribute | Description |
options | * | ||
store | * | ||
http | * |
Public Members
public options: * source
public req: * source
public res: * source
public store: * source
Public Methods
public buildOptions(method: *, path: *, opts: *): * source
Params:
Name | Type | Attribute | Description |
method | * | ||
path | * | ||
opts | * |
Return:
* |
public genericMethod(method: *, path: *, opts: {}): * source
Params:
Name | Type | Attribute | Description |
method | * | ||
path | * | ||
opts | {} |
|
Return:
* |
public setHTTP(http: *) source
Params:
Name | Type | Attribute | Description |
http | * |