Add App::removeServerName
This commit is contained in:
@@ -45,6 +45,12 @@ public:
|
||||
return std::move(*this);
|
||||
}
|
||||
|
||||
TemplatedApp &&removeServerName(std::string hostname_pattern) {
|
||||
|
||||
us_socket_context_remove_server_name(SSL, (struct us_socket_context_t *) httpContext, hostname_pattern.c_str());
|
||||
return std::move(*this);
|
||||
}
|
||||
|
||||
/* Returns the SSL_CTX of this app, or nullptr. */
|
||||
void *getNativeHandle() {
|
||||
return us_socket_context_get_native_handle(SSL, (struct us_socket_context_t *) httpContext);
|
||||
|
||||
+1
-1
Submodule uSockets updated: 5c4116f2fa...cd62d4409b
Reference in New Issue
Block a user