docs: public final StreamSinkFrameChannel send(WebSocketFrameType type) throws IOException {
          if(closeFrameSent || (closeFrameReceived && type != WebSocketFrameType.CLOSE)) {
              throw WebSocketMessages.MESSAGES.channelClosed();
          }
          if (isWritesBroken()) {
              throw WebSocketMessages.MESSAGES.streamIsBroken();
          }
  
  
          StreamSinkFrameChannel ch = createStreamSinkChannel(type);
          getFramePriority().addToOrderQueue(ch);
          if (type == WebSocketFrameType.CLOSE) {
              closeFrameSent = true;
          }
          return ch;
      }