Interface: AdapterContext<RawEventType, RawResponseType, ExecutionContextType, IncomingEventType, IncomingEventOptionsType, OutgoingResponseType>
Interface: AdapterContext<RawEventType, RawResponseType, ExecutionContextType, IncomingEventType, IncomingEventOptionsType, OutgoingResponseType>
Class representing an AdapterContext.
Type Parameters
RawEventType
RawEventType
RawResponseType
RawResponseType
ExecutionContextType
ExecutionContextType
IncomingEventType
IncomingEventType
extends IncomingEvent
= IncomingEvent
IncomingEventOptionsType
IncomingEventOptionsType
extends IncomingEventOptions
= IncomingEventOptions
OutgoingResponseType
OutgoingResponseType
extends OutgoingResponse
= OutgoingResponse
Properties
executionContext
readonly executionContext: ExecutionContextType;
The executionContext of type ExecutionContextType.
incomingEvent?
optional incomingEvent: IncomingEventType;
The incomingEvent associated with the executionContext.
incomingEventBuilder
readonly incomingEventBuilder: IAdapterEventBuilder<IncomingEventOptionsType, IncomingEventType>;
The incomingEventBuilder.
outgoingResponse?
optional outgoingResponse: OutgoingResponseType;
The outgoingResponse associated with the executionContext.
rawEvent
readonly rawEvent: RawEventType;
The rawEvent of type RawEventType.
rawResponse?
optional rawResponse: RawResponseType;
The rawResponse of type RawResponseType.
rawResponseBuilder
readonly rawResponseBuilder: IAdapterEventBuilder<RawResponseOptions, IRawResponseWrapper<RawResponseType>>;
The rawResponseBuilder.