A request with its payload still encoded by codec_for; the
entity answers through respond.
Attributes#
| Attribute | Type | Description |
|---|---|---|
envelope | PartialRequest | |
last_sent_reply | ReplyEncoded | None | |
respond | Callable[[ReplyWithContext], Effect[None, MalformedMessage | PersistenceError]] | |
codec_for | CodecFor | |
caller_scope | CloseableScope | None = None |
Functions#
__init__#
__init__(*, envelope, last_sent_reply, respond, codec_for, caller_scope=None) -> None| Parameter | Type | Description |
|---|---|---|
envelope | PartialRequest | |
last_sent_reply | ReplyEncoded | None | |
respond | Callable[[ReplyWithContext], Effect[None, MalformedMessage | PersistenceError]] | |
codec_for | CodecFor | |
caller_scope | CloseableScope | None = None |