Class: HttpHeader
networkBeta
表示一个请求标头,即包含了请求元数据的键值对。
Represents an HTTP header - a key/value pair of meta-information about a request.
Example
simpleHttpRequest.ts
Constructors
Constructor
new HttpHeader(
key,value):HttpHeader
Beta
Parameters
key
string
value
any
Returns
HttpHeader
Properties
key
key:
string
Early Execution Beta
Remarks
请求标头的键。
Key of the HTTP header.
value
value:
any
Early Execution Beta
Remarks
请求标头的值。
Value of the HTTP header.
