Class: Protocol::QUIC::Client

Inherits:
Object
  • Object
show all
Defined in:
ext/source/Protocol/QUIC/Client.cpp

Instance Method Summary collapse

Constructor Details

#initialize(configuration, tls_context, socket, remote_address, chosen_version) ⇒ Object



135
136
137
138
139
# File 'ext/source/Protocol/QUIC/Client.cpp', line 135

static VALUE Protocol_QUIC_Client_initialize(VALUE self, VALUE configuration, VALUE tls_context, VALUE socket, VALUE remote_address, VALUE chosen_version) {
	Protocol::QUIC::Client *client = new RubyClient(self, configuration, tls_context, socket, remote_address, chosen_version);
	DATA_PTR(self) = client;
	return self;
}

Instance Method Details

#connectObject



141
142
143
144
145
146
147
# File 'ext/source/Protocol/QUIC/Client.cpp', line 141

static VALUE Protocol_QUIC_Client_connect(VALUE self) {
	Protocol::QUIC::Client *client = Protocol_QUIC_Client_get(self);
	
	client->connect();
	
	return Qnil;
}