Search
Preparing search index...
The search index is not available
@nestjs/core
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
ExecutionContextHost
Class ExecutionContextHost
Hierarchy
ExecutionContextHost
Implements
ExecutionContext
Index
Constructors
constructor
Properties
args
constructor
Ref
context
Type
handler
Methods
get
Arg
ByIndex
get
Args
get
Class
get
Handler
get
Type
set
Type
switch
ToHttp
switch
ToRpc
switch
ToWs
Constructors
constructor
new
Execution
Context
Host
(
args
:
any
[]
, constructorRef
?:
Type
<
any
>
, handler
?:
Function
)
:
ExecutionContextHost
Parameters
args:
any
[]
Default value
constructorRef:
Type
<
any
>
= null
Default value
handler:
Function
= null
Returns
ExecutionContextHost
Properties
Private
Readonly
args
args
:
any
[]
Private
Readonly
constructor
Ref
constructor
Ref
:
Type
<
any
>
Private
context
Type
context
Type
:
string
= "http"
Private
Readonly
handler
handler
:
Function
Methods
get
Arg
ByIndex
get
Arg
ByIndex<T>
(
index
:
number
)
:
T
Type parameters
T =
any
Parameters
index:
number
Returns
T
get
Args
get
Args<T>
(
)
:
T
Type parameters
T
:
Array
<
any
>
=
any
[]
Returns
T
get
Class
get
Class<T>
(
)
:
Type
<
T
>
Type parameters
T =
any
Returns
Type
<
T
>
get
Handler
get
Handler
(
)
:
Function
Returns
Function
get
Type
get
Type<TContext>
(
)
:
TContext
Type parameters
TContext
:
string
=
ContextType
Returns
TContext
set
Type
set
Type<TContext>
(
type
:
TContext
)
:
void
Type parameters
TContext
:
string
=
ContextType
Parameters
type:
TContext
Returns
void
switch
ToHttp
switch
ToHttp
(
)
:
HttpArgumentsHost
Returns
HttpArgumentsHost
switch
ToRpc
switch
ToRpc
(
)
:
RpcArgumentsHost
Returns
RpcArgumentsHost
switch
ToWs
switch
ToWs
(
)
:
WsArgumentsHost
Returns
WsArgumentsHost
Globals
Execution
Context
Host
constructor
args
constructor
Ref
context
Type
handler
get
Arg
ByIndex
get
Args
get
Class
get
Handler
get
Type
set
Type
switch
ToHttp
switch
ToRpc
switch
ToWs
Generated using
TypeDoc