Module swim.ws
Package swim.ws

Class WsClose<P,​T>

  • All Implemented Interfaces:
    swim.codec.Debug

    public final class WsClose<P,​T>
    extends WsControl<P,​T>
    implements swim.codec.Debug
    • Method Detail

      • encodeContent

        public swim.codec.Encoder<?,​?> encodeContent​(swim.codec.OutputBuffer<?> output,
                                                           WsEncoder ws)
        Specified by:
        encodeContent in class WsFrame<T>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • debug

        public void debug​(swim.codec.Output<?> output)
        Specified by:
        debug in interface swim.codec.Debug
      • empty

        public static <P,​T> WsClose<P,​T> empty()
      • from

        public static <P,​T> WsClose<P,​T> from​(P payload,
                                                          swim.codec.Encoder<?,​?> content)
      • from

        public static <P,​T> WsClose<P,​T> from​(P payload)