PollTransport
in package
FinalYes
The negotiated envelope carries HTTP outcomes after response progress starts.
Table of Contents
Constants
- MEDIA_TYPE : mixed = 'application/vnd.durable-workflow.poll.v1+json'
- KINDS : mixed = ['workflow', 'activity', 'query', 'update-valid...
- SCHEMA : mixed = 'durable-workflow.poll-transport.v1'
Methods
-
decode()
: array{status: int, headers: array
, body: array } - taskKind() : string|null
Constants
MEDIA_TYPE
public
mixed
MEDIA_TYPE
= 'application/vnd.durable-workflow.poll.v1+json'
KINDS
private
mixed
KINDS
= ['workflow', 'activity', 'query', 'update-validation']
SCHEMA
private
mixed
SCHEMA
= 'durable-workflow.poll-transport.v1'
Methods
decode()
public
static decode(string $rawBody, int $outerStatus) : array{status: int, headers: array, body: array}
Parameters
- $rawBody : string
- $outerStatus : int
Return values
array{status: int, headers: arraytaskKind()
public
static taskKind(string $method, string $uri) : string|null
Parameters
- $method : string
- $uri : string