Class: Protocol::QUIC::Configuration
- Inherits:
-
Object
- Object
- Protocol::QUIC::Configuration
- Defined in:
- ext/source/Ruby/Protocol/QUIC/Configuration.cpp
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #static_secret ⇒ Object
Constructor Details
#initialize ⇒ Object
50 51 52 53 54 55 56 |
# File 'ext/source/Ruby/Protocol/QUIC/Configuration.cpp', line 50
static VALUE Ruby_Protocol_QUIC_Configuration_initialize(VALUE self) {
::Protocol::QUIC::Configuration *configuration;
TypedData_Get_Struct(self, ::Protocol::QUIC::Configuration, &Ruby_Protocol_QUIC_Configuration_type, configuration);
return self;
}
|
Instance Method Details
#static_secret ⇒ Object
58 59 60 61 62 63 64 |
# File 'ext/source/Ruby/Protocol/QUIC/Configuration.cpp', line 58
static VALUE Ruby_Protocol_QUIC_Configuration_static_secret(VALUE self) {
::Protocol::QUIC::Configuration *configuration;
TypedData_Get_Struct(self, ::Protocol::QUIC::Configuration, &Ruby_Protocol_QUIC_Configuration_type, configuration);
return rb_str_new((const char *)configuration->static_secret.data(), configuration->static_secret.size());
}
|