readWebSocketErrorCode

    Read a websocket error code from a byte buffer.

    WebSocketErrorCodes.swift:134
    mutating func readWebSocketErrorCode() -> WebSocketErrorCode?

    Returns

    The error code, or nil if there were not enough readable bytes.

    This method increments the reader index.

    Other members in extension

    Instance members