Package discord4j.gateway.payload
Interface PayloadWriter
-
- All Known Implementing Classes:
JacksonPayloadWriter
public interface PayloadWriter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Publisher<ByteBuf>
write(GatewayPayload<?> payload)
Write a given payload to the output buffer.
-
-
-
Method Detail
-
write
Publisher<ByteBuf> write(GatewayPayload<?> payload)
Write a given payload to the output buffer.- Parameters:
payload
- the output payload- Returns:
- the publisher of outbound
ByteBuf
-
-