Search
Preparing search index...
The search index is not available
@nestjs/microservices
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
RequestContextHost
Class RequestContextHost<TData, TContext>
Type parameters
TData =
any
TContext
:
BaseRpcContext
=
any
Hierarchy
RequestContextHost
Implements
RequestContext
<
TData
>
Index
Constructors
constructor
Properties
context
data
pattern
Methods
get
Context
get
Data
get
Pattern
create
Constructors
constructor
new
Request
Context
Host
(
pattern
:
string
|
Record
<
string
,
any
>
, data
:
TData
, context
:
TContext
)
:
RequestContextHost
Parameters
pattern:
string
|
Record
<
string
,
any
>
data:
TData
context:
TContext
Returns
RequestContextHost
Properties
Readonly
context
context
:
TContext
Readonly
data
data
:
TData
Readonly
pattern
pattern
:
string
|
Record
<
string
,
any
>
Methods
get
Context
get
Context
(
)
:
TContext
Returns
TContext
get
Data
get
Data
(
)
:
TData
Returns
TData
get
Pattern
get
Pattern
(
)
:
string
|
Record
<
string
,
any
>
Returns
string
|
Record
<
string
,
any
>
Static
create
create<TData, TContext>
(
pattern
:
string
|
Record
<
string
,
any
>
, data
:
TData
, context
:
TContext
)
:
RequestContext
<
TData
,
TContext
>
Type parameters
TData
TContext
:
BaseRpcContext
Parameters
pattern:
string
|
Record
<
string
,
any
>
data:
TData
context:
TContext
Returns
RequestContext
<
TData
,
TContext
>
Globals
Request
Context
Host
constructor
context
data
pattern
get
Context
get
Data
get
Pattern
create
Generated using
TypeDoc