Closed romainneutron closed 11 years ago
FYI and to add docs within this PR, here is what the documentation says about connections :
The server can reject any connection attempt. The server SHOULD respond back with an ERROR frame listing why the connection was rejected and then close the connection. STOMP servers MUST support clients which rapidly connect and disconnect. This implies a server will likely only allow closed connections to linger for short time before the connection is reset. This means that a client may not receive the ERROR frame before the socket is reset.
Thanks, merged with minor adjustments.
React\Stomp\Client::connect