Home > kibana-plugin-core-public > HttpSetup
Signature:
export interface HttpSetup
Property | Type | Description |
---|---|---|
anonymousPaths | IAnonymousPaths |
APIs for denoting certain paths for not requiring authentication |
basePath | IBasePath |
APIs for manipulating the basePath on URL segments. See IBasePath |
delete | HttpHandler |
Makes an HTTP request with the DELETE method. See HttpHandler for options. |
fetch | HttpHandler |
Makes an HTTP request. Defaults to a GET request unless overriden. See HttpHandler for options. |
get | HttpHandler |
Makes an HTTP request with the GET method. See HttpHandler for options. |
head | HttpHandler |
Makes an HTTP request with the HEAD method. See HttpHandler for options. |
options | HttpHandler |
Makes an HTTP request with the OPTIONS method. See HttpHandler for options. |
patch | HttpHandler |
Makes an HTTP request with the PATCH method. See HttpHandler for options. |
post | HttpHandler |
Makes an HTTP request with the POST method. See HttpHandler for options. |
put | HttpHandler |
Makes an HTTP request with the PUT method. See HttpHandler for options. |
Method | Description |
---|---|
addLoadingCountSource(countSource$) | Adds a new source of loading counts. Used to show the global loading indicator when sum of all observed counts are more than 0. |
getLoadingCount$() | Get the sum of all loading count sources as a single Observable. |
intercept(interceptor) | Adds a new HttpInterceptor to the global HTTP client. |