ResponseInterface
interface ResponseInterface
Methods
bool
init(mixed $frame)
Init fd by frame or request and so on, Must be used in swoole process mode.
int
getFd()
Get the connection file descriptor.
bool
close()
Close the connection.
Details
at line 12
bool
push(FrameInterface $frame)
Push a frame to the client.
at line 18
ResponseInterface
init(mixed $frame)
Init fd by frame or request and so on, Must be used in swoole process mode.
at line 23
int
getFd()
Get the connection file descriptor.
at line 28
bool
close()
Close the connection.