* unify modifyUrl on client and server * create BasePath as a separate entity on server * use BasePath class in http server * use BasePath a separate entity on client * use BasePath class on Http service on the client * switch client code to the new api * improve setver http service mocks * address comments #1 * address comments #2 * update docs * add comment why we define own typings
1.9 KiB
1.9 KiB
Home > kibana-plugin-public > HttpServiceBase
HttpServiceBase interface
Signature:
export interface HttpServiceBase
Properties
Property | Type | Description |
---|---|---|
basePath | { get: () => string; prepend: (url: string) => string; remove: (url: string) => string; } |
|
delete | HttpHandler |
|
fetch | HttpHandler |
|
get | HttpHandler |
|
head | HttpHandler |
|
options | HttpHandler |
|
patch | HttpHandler |
|
post | HttpHandler |
|
put | HttpHandler |
Methods
Method | Description |
---|---|
addLoadingCount(count$) | |
getLoadingCount$() | |
intercept(interceptor) | |
removeAllInterceptors() | |
stop() |