io.rsocket.frame.CancelFrameCodec Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rsocket-core Show documentation
Show all versions of rsocket-core Show documentation
Core functionality for the RSocket library
The newest version!
package io.rsocket.frame;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufAllocator;
public class CancelFrameCodec {
private CancelFrameCodec() {}
public static ByteBuf encode(final ByteBufAllocator allocator, final int streamId) {
return FrameHeaderCodec.encode(allocator, streamId, FrameType.CANCEL, 0);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy