\ManaPHP\WsClientInterface

Summary

Methods
Constants
getEndpoint()
setEndpoint()
request()
subscribe()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getEndpoint()

getEndpoint() : string

Returns

string

setEndpoint()

setEndpoint(string  $endpoint) : static

Parameters

string $endpoint

Returns

static

request()

request(string  $message, float  $timeout = null) : \ManaPHP\Ws\Client\Message

Parameters

string $message
float $timeout

Returns

\ManaPHP\Ws\Client\Message

subscribe()

subscribe(callable  $handler, integer  $keepalive = 60) : void

Parameters

callable $handler
integer $keepalive