GitHub

IncomingRequest

API reference for IncomingRequest.

A request with its payload still encoded by codec_for; the entity answers through respond.

Attributes

AttributeTypeDescription
envelopePartialRequest
last_sent_replyReplyEncoded | None
respondCallable[[ReplyWithContext], Effect[None, MalformedMessage | PersistenceError]]
codec_forCodecFor
caller_scopeCloseableScope | None = None

Functions

__init__

__init__(*, envelope, last_sent_reply, respond, codec_for, caller_scope=None) -> None
ParameterTypeDescription
envelopePartialRequest
last_sent_replyReplyEncoded | None
respondCallable[[ReplyWithContext], Effect[None, MalformedMessage | PersistenceError]]
codec_forCodecFor
caller_scopeCloseableScope | None = None