Class HandshakeResult.Accepted

java.lang.Object
com.soklet.HandshakeResult.Accepted
All Implemented Interfaces:
HandshakeResult
Enclosing interface:
HandshakeResult

@ThreadSafe public static final class HandshakeResult.Accepted extends Object implements HandshakeResult
Type which indicates a successful Server-Sent Event handshake.

A default, no-customization-permitted instance can be acquired via HandshakeResult.accept() and a builder which enables customization can be acquired via HandshakeResult.acceptWithDefaults().

Full documentation is available at https://www.soklet.com/docs/server-sent-events#accepting-handshakes.

Author:
Mark Allen