Request
OCP App SDK / Request
Request
Index
Constructors
Properties
Accessors
Constructors
constructor()
Signature
new Request(
method: HttpMethod,
path: string,
params: QueryParams,
headers: string[][],
body: null | Uint8Array): Request;
Parameters
Name | Type |
---|---|
method | HttpMethod |
path | string |
params | QueryParams |
headers | string [][] |
body | null | Uint8Array |
Returns
Defined in: src/app/lib/Request.ts:13
Properties
headers
Defined in: src/app/lib/Request.ts:9
method
Readonly
HttpMethod
Defined in: src/app/lib/Request.ts:6
params
Readonly
QueryParams
Defined in: src/app/lib/Request.ts:8
path
Readonly
string
Defined in: src/app/lib/Request.ts:7
Accessors
body
Signature
body(): Uint8Array;
Returns
Uint8Array
Defined in: src/app/lib/Request.ts:23
Defined in: src/app/lib/Request.ts:23
bodyJSON
Signature
bodyJSON(): any;
Returns
any
Defined in: src/app/lib/Request.ts:27
Defined in: src/app/lib/Request.ts:27
contentType
Signature
contentType(): null | string;
Returns
null
| string
Defined in: src/app/lib/Request.ts:40
Defined in: src/app/lib/Request.ts:40
Updated 3 months ago