Package discord4j.gateway.payload
Interface PayloadReader
- All Known Implementing Classes:
JacksonPayloadReader
public interface PayloadReader
-
Method Summary
Modifier and TypeMethodDescriptionRead from the input buffer and encode to a single object.
-
Method Details
-
read
Read from the input buffer and encode to a single object.- Parameters:
payload- the input byte buffer- Returns:
- a publisher of
GatewayPayloadrepresenting the inbound payload
-