Preparing search index...
The search index is not available
DCS World Typescript
DCS World Typescript
@flying-dice/tslua-http-api
application
AppHttpRequest
Class AppHttpRequest<PARAMS, QUERY, BODY>
Type Parameters
PARAMS
=
any
QUERY
=
any
BODY
=
any
Hierarchy
AppHttpRequest
Index
Constructors
constructor
Properties
__params
logger
req
Accessors
body
headers
method
original
Url
params
path
protocol
query
Methods
get
Body
get
Body
Or
Throw
get
Header
Value
get
Header
Value
Or
Throw
get
Path
Parameter
Value
get
Path
Parameter
Value
Or
Throw
get
Query
Parameter
Value
get
Query
Parameter
Value
Or
Throw
Constructors
constructor
new
App
Http
Request
<
PARAMS
,
QUERY
,
BODY
>
(
req
,
pathParams
)
:
AppHttpRequest
<
PARAMS
,
QUERY
,
BODY
>
Type Parameters
PARAMS
=
any
QUERY
=
any
BODY
=
any
Parameters
req
:
HttpRequest
<
Record
<
string
,
string
>
>
pathParams
:
Record
<
string
,
string
>
Returns
AppHttpRequest
<
PARAMS
,
QUERY
,
BODY
>
Properties
__params
__params
:
Record
<
string
,
string
>
Protected
logger
logger
:
Logger
= ...
Readonly
req
req
:
HttpRequest
<
Record
<
string
,
string
>
>
Accessors
body
get
body
(
)
:
undefined
|
BODY
Returns
undefined
|
BODY
headers
get
headers
(
)
:
Record
<
string
,
string
>
Returns
Record
<
string
,
string
>
method
get
method
(
)
:
string
Returns
string
original
Url
get
originalUrl
(
)
:
string
Returns
string
params
get
params
(
)
:
PARAMS
Returns
PARAMS
path
get
path
(
)
:
string
Returns
string
protocol
get
protocol
(
)
:
string
Returns
string
query
get
query
(
)
:
QUERY
Returns
QUERY
Methods
get
Body
get
Body
<
T
>
(
)
:
T
Type Parameters
T
=
string
Returns
T
get
Body
Or
Throw
get
Body
Or
Throw
<
T
>
(
error
?
)
:
T
Type Parameters
T
=
string
Parameters
error
:
Error
= ...
Returns
T
get
Header
Value
get
Header
Value
<
T
>
(
key
)
:
T
Type Parameters
T
Parameters
key
:
string
Returns
T
get
Header
Value
Or
Throw
get
Header
Value
Or
Throw
<
T
>
(
key
,
error
?
)
:
T
Type Parameters
T
Parameters
key
:
string
error
:
Error
= ...
Returns
T
get
Path
Parameter
Value
get
Path
Parameter
Value
<
T
>
(
key
)
:
T
Type Parameters
T
=
string
Parameters
key
:
string
Returns
T
get
Path
Parameter
Value
Or
Throw
get
Path
Parameter
Value
Or
Throw
<
T
>
(
key
,
error
?
)
:
T
Type Parameters
T
=
string
Parameters
key
:
string
error
:
Error
= ...
Returns
T
get
Query
Parameter
Value
get
Query
Parameter
Value
<
T
>
(
key
)
:
T
Type Parameters
T
=
string
Parameters
key
:
string
Returns
T
get
Query
Parameter
Value
Or
Throw
get
Query
Parameter
Value
Or
Throw
<
T
>
(
key
,
error
?
)
:
T
Type Parameters
T
=
string
Parameters
key
:
string
error
:
Error
= ...
Returns
T
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
__params
logger
req
body
headers
method
original
Url
params
path
protocol
query
get
Body
get
Body
Or
Throw
get
Header
Value
get
Header
Value
Or
Throw
get
Path
Parameter
Value
get
Path
Parameter
Value
Or
Throw
get
Query
Parameter
Value
get
Query
Parameter
Value
Or
Throw
DCS World Typescript
@flying-dice/tslua-common
@flying-dice/tslua-dcs-gui-types
@flying-dice/tslua-dcs-mission-types
@flying-dice/tslua-http
@flying-dice/tslua-http-api
@flying-dice/tslua-rxi-json
@flying-dice/tslua-base64
Generated using
TypeDoc