Package io.quarkus.websockets.next
Class CloseReason
java.lang.Object
io.quarkus.websockets.next.CloseReason
Indicates a reason for closing a connection. See also RFC-6455
section 5.5.1. The pre-defined status codes are
listed in section 7.4.1.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NORMAL
-
INTERNAL_SERVER_ERROR
-
-
Constructor Details
-
CloseReason
public CloseReason(int code) - Parameters:
code- The status code must comply with RFC-6455
-
CloseReason
- Parameters:
code- The status code must comply with RFC-6455message-
-
-
Method Details