Class: SimpleOperationContext
Simple Operation Context with custom input
Extends
Constructors
new SimpleOperationContext(webda)
new SimpleOperationContext(
webda
):SimpleOperationContext
Parameters
• webda: Core
<CoreEvents
>
Returns
Overrides
OperationContext.constructor
Source
packages/core/src/utils/context.ts:412
Properties
_body
protected
_body:string
Output
Inherited from
Source
packages/core/src/utils/context.ts:87
_promises
_promises:
Promise
<any
>[]
Contain all registered promises to this context
Inherited from
Source
packages/core/src/utils/context.ts:98
_sanitized
protected
_sanitized:any
Contain the sanitized request body if computed
Inherited from
Source
packages/core/src/utils/context.ts:82
_stream
_stream:
Writable
Output stream
Inherited from
Source
packages/core/src/utils/context.ts:120
_webda
protected
_webda:Core
<CoreEvents
>
Contain emitting Core
Inherited from
Source
packages/core/src/utils/context.ts:70
extensions
protected
extensions:Object
Allow extensions
Index signature
[key
: string
]: any
Inherited from
Source
packages/core/src/utils/context.ts:78
input
input:
Buffer
Source
packages/core/src/utils/context.ts:415
session
protected
session:Session
Session
Inherited from
Source
packages/core/src/utils/context.ts:74
__globalContext
static
protected
__globalContext:OperationContext
<any
,any
>
Inherited from
OperationContext
.__globalContext
Source
packages/core/src/utils/context.ts:65
captureRejectionSymbol
static
readonly
captureRejectionSymbol: typeofcaptureRejectionSymbol
Inherited from
OperationContext
.captureRejectionSymbol
Source
packages/core/node_modules/@types/node/events.d.ts:328
captureRejections
static
captureRejections:boolean
Sets or gets the default captureRejection value for all emitters.
Inherited from
OperationContext
.captureRejections
Source
packages/core/node_modules/@types/node/events.d.ts:333
defaultMaxListeners
static
defaultMaxListeners:number
Inherited from
OperationContext
.defaultMaxListeners
Source
packages/core/node_modules/@types/node/events.d.ts:334
errorMonitor
static
readonly
errorMonitor: typeoferrorMonitor
This symbol shall be used to install a listener for only monitoring 'error'
events. Listeners installed using this symbol are called before the regular
'error'
listeners are called.
Installing a listener using this symbol does not change the behavior once an
'error'
event is emitted, therefore the process will still crash if no
regular 'error'
listener is installed.