CodecInterface
in
Table of Contents
Methods
- decode() : iterable<string|int, ServerRequestInterface|ServerResponseInterface>
- encode() : string
Methods
decode()
public
decode(string $batch[, array<string|int, mixed> $headers = [] ]) : iterable<string|int, ServerRequestInterface|ServerResponseInterface>
Parameters
- $batch : string
- $headers : array<string|int, mixed> = []
Tags
Return values
iterable<string|int, ServerRequestInterface|ServerResponseInterface>encode()
public
encode(iterable<string|int, CommandInterface> $commands) : string
Parameters
- $commands : iterable<string|int, CommandInterface>