Class: HTTPRequest
Defined in: submodules/univer/packages/network/src/services/http/request.ts:43
Constructors
new HTTPRequest()
new HTTPRequest(
method,
url,
requestParams?): HTTPRequest
Defined in: submodules/univer/packages/network/src/services/http/request.ts:50
Parameters
Parameter | Type |
---|---|
method | HTTPRequestMethod |
url | string |
requestParams ? | IHTTPRequestParams |
Returns
Properties
Property | Modifier | Type | Defined in |
---|---|---|---|
method | readonly | HTTPRequestMethod | submodules/univer/packages/network/src/services/http/request.ts:51 |
requestParams? | readonly | IHTTPRequestParams | submodules/univer/packages/network/src/services/http/request.ts:53 |
uid | readonly | number | submodules/univer/packages/network/src/services/http/request.ts:48 |
url | readonly | string | submodules/univer/packages/network/src/services/http/request.ts:52 |
Accessors
headers
Get Signature
get headers(): HTTPHeaders
Defined in: submodules/univer/packages/network/src/services/http/request.ts:44
Returns
responseType
Get Signature
get responseType(): HTTPResponseType
Defined in: submodules/univer/packages/network/src/services/http/request.ts:46
Returns
withCredentials
Get Signature
get withCredentials(): boolean
Defined in: submodules/univer/packages/network/src/services/http/request.ts:45
Returns
boolean
Methods
getBody()
getBody(): null | string
Defined in: submodules/univer/packages/network/src/services/http/request.ts:65
Returns
null
| string
getHeadersInit()
getHeadersInit(): HeadersInit
Defined in: submodules/univer/packages/network/src/services/http/request.ts:75
Returns
HeadersInit
getUrlWithParams()
getUrlWithParams(): string
Defined in: submodules/univer/packages/network/src/services/http/request.ts:56
Returns
string