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