Class: Restate::Request
- Inherits:
-
Struct
- Object
- Struct
- Restate::Request
- Defined in:
- lib/restate/context.rb
Overview
Request metadata available to handlers via ctx.request.
Instance Attribute Summary collapse
-
#attempt_finished_event ⇒ AttemptFinishedEvent
readonly
Signaled when this attempt ends.
-
#body ⇒ String
readonly
Raw input bytes.
-
#headers ⇒ Hash{String => String}
readonly
Request headers.
-
#id ⇒ String
readonly
The invocation ID.
Instance Attribute Details
#attempt_finished_event ⇒ AttemptFinishedEvent (readonly)
Returns signaled when this attempt ends.
66 |
# File 'lib/restate/context.rb', line 66 Request = Struct.new(:id, :headers, :body, :attempt_finished_event, keyword_init: true) |
#body ⇒ String (readonly)
Returns raw input bytes.
66 |
# File 'lib/restate/context.rb', line 66 Request = Struct.new(:id, :headers, :body, :attempt_finished_event, keyword_init: true) |
#headers ⇒ Hash{String => String} (readonly)
Returns request headers.
66 |
# File 'lib/restate/context.rb', line 66 Request = Struct.new(:id, :headers, :body, :attempt_finished_event, keyword_init: true) |
#id ⇒ String (readonly)
Returns the invocation ID.
66 |
# File 'lib/restate/context.rb', line 66 Request = Struct.new(:id, :headers, :body, :attempt_finished_event, keyword_init: true) |