Methods
Static get
- get(path: string, query: string): Promise<string>
-
Parameters
-
path: string
-
query: string
Returns Promise<string>
Static post
- post(endpoint: Url, params?: object): Promise<any>
-
Parameters
-
endpoint: Url
-
Optional params: object
Returns Promise<any>
A class used internally by the
HttpClient
to work with http urls.HttpClient The
HttpClient
class should be used instead of this one.