struct ProtoHackers::ISLSession

Defined in:

8_insecure_socket_layer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(client : TCPSocket, remote_address : String, ciphers : Array(Cipher), accumulator : Array(UInt8) = [] of UInt8, message : Array(UInt8) = [] of UInt8, processed_pos : Int32 = 0, resp_pos : Int32 = 0) #

[View source]

Instance Method Detail

def accumulator : Array(UInt8) #

def accumulator=(value : Array(UInt8)) #

[View source]
def ciphers : Array(Cipher) #

def client : TCPSocket #

def clone #

[View source]
def copy_with(client _client = @client, remote_address _remote_address = @remote_address, ciphers _ciphers = @ciphers, accumulator _accumulator = @accumulator, message _message = @message, processed_pos _processed_pos = @processed_pos, resp_pos _resp_pos = @resp_pos) #

[View source]
def handle #

[View source]
def message : Array(UInt8) #

def message=(value : Array(UInt8)) #

[View source]
def processed_pos : Int32 #

def remote_address : String #

def resp_pos : Int32 #