- Preparing search index...
- The search index is not available
pinot-client
Properties
get
get
: (<T>(url
: string, options
: { headers
: Record<string, string> }) => Promise<HttpClientResponse<T>>)
Type declaration
-
- <T>(url: string, options: { headers: Record<string, string> }): Promise<HttpClientResponse<T>>
-
Parameters
-
url: string
-
options: { headers: Record<string, string> }
-
headers: Record<string, string>
post
post
: (<T>(url
: string, data
: object, options
: { headers
: Record<string, string> }) => Promise<HttpClientResponse<T>>)
Type declaration
-
- <T>(url: string, data: object, options: { headers: Record<string, string> }): Promise<HttpClientResponse<T>>
-
Parameters
-
url: string
-
data: object
-
options: { headers: Record<string, string> }
-
headers: Record<string, string>
HttpClient interface can be used for providing a custom client responsible for executing GET and POST requests against Pinot Controllers and Brokers.