CodecInterface
in
Table of Contents
Methods
- decode() : iterable<string|int, ServerRequestInterface|ResponseInterface>
- encode() : string
Methods
decode()
public
decode(string $batch) : iterable<string|int, ServerRequestInterface|ResponseInterface>
Parameters
- $batch : string
Tags
Return values
iterable<string|int, ServerRequestInterface|ResponseInterface>encode()
public
encode(iterable<string|int, CommandInterface> $commands) : string
Parameters
- $commands : iterable<string|int, CommandInterface>