Search
Preparing search index...
The search index is not available
@nestjs/microservices
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
?:
any
, handler
?:
any
)
:
ExecutionContextHost
Parameters
args:
any
Default value
constructorRef:
any
= null
Default value
handler:
any
= 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
(
index
:
any
)
:
any
Parameters
index:
any
Returns
any
get
Args
get
Args
(
)
:
any
Returns
any
get
Class
get
Class
(
)
:
any
Returns
any
get
Handler
get
Handler
(
)
:
any
Returns
any
get
Type
get
Type
(
)
:
string
Returns
string
set
Type
set
Type
(
type
:
any
)
:
void
Parameters
type:
any
Returns
void
switch
ToHttp
switch
ToHttp
(
)
:
this
&
{
getNext
:
any
;
getRequest
:
any
;
getResponse
:
any
}
Returns
this
&
{
getNext
:
any
;
getRequest
:
any
;
getResponse
:
any
}
switch
ToRpc
switch
ToRpc
(
)
:
this
&
{
getContext
:
any
;
getData
:
any
}
Returns
this
&
{
getContext
:
any
;
getData
:
any
}
switch
ToWs
switch
ToWs
(
)
:
this
&
{
getClient
:
any
;
getData
:
any
}
Returns
this
&
{
getClient
:
any
;
getData
:
any
}
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