Class: Protocol::QUIC::Client
- Inherits:
-
Object
- Object
- Protocol::QUIC::Client
- Defined in:
- ext/source/Ruby/Protocol/QUIC/Client.cpp
Instance Method Summary collapse
- #connect ⇒ Object
- #initialize(configuration, tls_context, socket, remote_address, chosen_version) ⇒ Object constructor
Constructor Details
#initialize(configuration, tls_context, socket, remote_address, chosen_version) ⇒ Object
139 140 141 142 143 |
# File 'ext/source/Ruby/Protocol/QUIC/Client.cpp', line 139
static VALUE Ruby_Protocol_QUIC_Client_initialize(VALUE self, VALUE configuration, VALUE tls_context, VALUE socket, VALUE remote_address, VALUE chosen_version) {
::Protocol::QUIC::Client *client = new Ruby::Protocol::QUIC::Client(self, configuration, tls_context, socket, remote_address, chosen_version);
DATA_PTR(self) = client;
return self;
}
|
Instance Method Details
#connect ⇒ Object
145 146 147 148 149 150 151 |
# File 'ext/source/Ruby/Protocol/QUIC/Client.cpp', line 145
static VALUE Ruby_Protocol_QUIC_Client_connect(VALUE self) {
::Protocol::QUIC::Client *client = Ruby_Protocol_QUIC_Client_get(self);
client->connect();
return Qnil;
}
|