| Modifier and Type | Method and Description |
|---|---|
| public ChannelFuture | Returns: the future for the write.the context to use for writing. ctx, int the stream for which to send the frame. streamId, ByteBuf the payload of the frame. This will be released by this method. data, int additional bytes that should be added to obscure the true content size. Must be between 0 and
256 (inclusive). A 1 byte padding is encoded as just the pad length field with value 0.
A 256 byte padding is encoded as the pad length field with value 255 and 255 padding bytes
appended to the end of the frame. padding, boolean indicates if this is the last frame to be sent for the stream. endStream, ChannelPromise the promise for the write. promise)Writes a |
| writeData | back to summary |
|---|---|
| public ChannelFuture writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endStream, ChannelPromise promise) Writes a
| |