Class CookieReceiveEvent

java.lang.Object
com.velocitypowered.api.event.player.CookieReceiveEvent
All Implemented Interfaces:
ResultedEvent<CookieReceiveEvent.ForwardResult>

@AwaitingEvent public final class CookieReceiveEvent extends Object implements ResultedEvent<CookieReceiveEvent.ForwardResult>
This event is fired when a cookie response from a client is received by the proxy. This usually happens after either a proxy plugin or a backend server requested a cookie. Velocity will wait on this event to finish firing before discarding the received cookie (if handled) or forwarding it to the backend server.