Class CookieRequestEvent

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

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