- Preparing search index...
- The search index is not available
docs.hg.fi
Interface RequestClientInterface
Methods
jsonRequest
- jsonRequest(method: RequestMethod, url: string, headers?: {
[key: string]: string;
}, data?: JsonAny): Promise<JsonAny>
-
Parameters
-
-
url: string
-
Optional
headers: {
[key: string]: string;
}
-
Optional
data: JsonAny
Returns Promise<JsonAny>
textEntityRequest
- textEntityRequest(method: RequestMethod, url: string, headers?: {
[key: string]: string;
}, data?: JsonAny): Promise<ResponseEntity<string>>
-
Parameters
-
-
url: string
-
Optional
headers: {
[key: string]: string;
}
-
Optional
data: JsonAny
textRequest
- textRequest(method: RequestMethod, url: string, headers?: {
[key: string]: string;
}, data?: string): Promise<string>
-
Parameters
-
-
url: string
-
Optional
headers: {
[key: string]: string;
}
-
Optional
data: string
Returns Promise<string>