class SOCKS::Enhanced::State::WebSocket

Defined in:

socks/enhanced/state/websocket.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def allow_connection_pause? : Bool #

[View source]
def allow_connection_reuse? : Bool #

[View source]
def allowConnectionPause : Atomic(Int8) #

[View source]
def allowConnectionReuse : Atomic(Int8) #

[View source]
def any_done=(value : Bool) #

[View source]
def any_done? : Bool #

[View source]
def anyDone : Atomic(Int8) #

[View source]
def connection_identifier #

[View source]
def connection_identifier=(value : UUID | Nil) #

[View source]
def final_command_flag? : CommandFlag | Nil #

[View source]
def maximum_receive_sequence : Int8 #

[View source]
def maximum_receive_sequence=(value : Int8) #

[View source]
def maximum_sent_sequence : Int8 #

[View source]
def maximum_sent_sequence=(value : Int8) #

[View source]
def maximumReceiveSequence : Atomic(Int8) #

[View source]
def maximumSentSequence : Atomic(Int8) #

[View source]
def mutex : Mutex #

[View source]
def notify_peer_incoming(io : HTTP::WebSocket::Protocol) #

[View source]
def ping(io : HTTP::WebSocket::Protocol, slice : Bytes | Nil) #

[View source]
def pong(io : HTTP::WebSocket::Protocol, slice : Bytes | Nil) #

[View source]
def process_client_side_connection_pause_pending!(io : HTTP::WebSocket::Protocol) : QueueFlag #

[View source]
def process_negotiate(io : HTTP::WebSocket::Protocol, source : IO) : Exception | Nil #

[View source]
def process_response_pending_command_negotiate(io : HTTP::WebSocket::Protocol) #

[View source]
def process_server_side_connection_pause_pending!(io : HTTP::WebSocket::Protocol, connection_identifier : UUID, pause_pool : PausePool) : PausePool::Entry | Nil #

[View source]
def read(io : HTTP::WebSocket::Protocol, slice : Bytes) : Int32 #

[View source]
def reading : Atomic(Int8) #

[View source]
def reading=(value : Bool) #

[View source]
def reading? : Bool #

[View source]
def receive_buffer_end_of_reached? : Bool #

[View source]
def receive_end_of_reached? : Bool #

[View source]
def receive_sequence_reset #

[View source]
def receiveBuffer : IO::Memory #

[View source]
def received_command=(value : Tuple(Int64, CommandFlag)) #

[View source]
def received_command? : Tuple(Int64, CommandFlag) | Nil #

[View source]
def received_command_flag? : CommandFlag | Nil #

[View source]
def received_passive_ask_command=(value : Bool) #

[View source]
def received_passive_ask_command? : Bool #

[View source]
def received_send_reply_command=(value : Bool) #

[View source]
def received_send_reply_command? : Bool #

[View source]
def receivedCommand : Tuple(Int64, CommandFlag) | Nil #

[View source]
def receivedPassiveAskCommand : Atomic(Int8) #

[View source]
def receivedSendReplyCommand : Atomic(Int8) #

[View source]
def receiveMutex : Mutex #

[View source]
def receiveRescueBuffer : IO::Memory #

[View source]
def receiveRound : Atomic(UInt64) #

[View source]
def receiveSequence : Atomic(Int8) #

[View source]
def reply_passive_ask_command=(value : Bool) #

[View source]
def reply_passive_ask_command? : Bool #

[View source]
def replyPassiveAskCommand : Atomic(Int8) #

[View source]
def resynchronize(io : HTTP::WebSocket::Protocol) #

[View source]
def send_active_ask_command=(value : Bool) #

[View source]
def send_active_ask_command? : Bool #

[View source]
def send_command=(value : Tuple(Int64, CommandFlag)) #

[View source]
def send_command? : Tuple(Int64, CommandFlag) | Nil #

[View source]
def send_command_flag? : CommandFlag | Nil #

[View source]
def sendActiveAskCommand : Atomic(Int8) #

[View source]
def sendCommand : Tuple(Int64, CommandFlag) | Nil #

[View source]
def sent_sequence_reset #

[View source]
def sentBufferSet : Set(Bytes) #

[View source]
def sentMutex : Mutex #

[View source]
def sentRound : Atomic(UInt64) #

[View source]
def sentSequence : Atomic(Int8) #

[View source]
def synchronize(io : HTTP::WebSocket::Protocol, synchronize_flag : SynchronizeFlag, ignore_incoming_alert : Bool = true) : RBFlag #

[View source]
def synchronizeMutex : Mutex #

[View source]
def synchronizing : Atomic(Int8) #

[View source]
def synchronizing=(value : Bool) #

[View source]
def synchronizing? : Bool #

[View source]
def transporting : Atomic(Int8) #

[View source]
def transporting=(value : Bool) #

[View source]
def transporting? : Bool #

[View source]
def update_receive_rescue_buffer(slice : Bytes) : Bool #

[View source]
def write(io : HTTP::WebSocket::Protocol, slice : Bytes) : Nil #

[View source]
def writing : Atomic(Int8) #

[View source]
def writing=(value : Bool) #

[View source]
def writing? : Bool #

[View source]