Uses of Class
com.soklet.HandshakeResult.Accepted.Builder
Packages that use HandshakeResult.Accepted.Builder
-
Uses of HandshakeResult.Accepted.Builder in com.soklet
Methods in com.soklet that return HandshakeResult.Accepted.BuilderModifier and TypeMethodDescriptionHandshakeResult.acceptWithDefaults()Vends a builder for an instance that indicates a successful handshake.HandshakeResult.Accepted.Builder.clientInitializer(Consumer<ServerSentEventUnicaster> clientInitializer) Specifies custom "client initializer" function to run immediately after the handshake succeeds - useful for performing "catch-up" logic if the client had provided aLast-Event-IDrequest header.HandshakeResult.Accepted.Builder.cookies(Set<ResponseCookie> cookies) Specifies custom response cookies to be sent with the handshake.Specifies custom response headers to be sent with the handshake.