kibana/docs/development/core/public/kibana-plugin-public.httpservicebase.md
Mikhail Shustov de5c452f14
Unify base path in HttpService (#38237)
* 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
2019-06-16 16:36:02 +02:00

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()