Go to the source code of this file.
◆ CBLListenerAuthenticator
An opaque object representing the listener authenticator.
◆ CBLListenerCertAuthCallback
| typedef bool(* CBLListenerCertAuthCallback) (void *context, CBLCert *cert) |
Certificate authenticator callback for verifying client certificate when the TLS client certificate authentication is used.
- Parameters
-
| context | Context |
| cert | Certificate |
◆ CBLListenerPasswordAuthCallback
| typedef bool(* CBLListenerPasswordAuthCallback) (void *context, FLString username, FLString password) |
Password authenticator callback for verifying client credentials when the HTTP Basic Authentication is used.
- Parameters
-
| context | Context |
| username | Username |
| password | Password |
◆ CBLURLEndpointListener
An opaque object representing the listener.
◆ CBLListenerAuth_CreateCertificate()
Creates a certificate authenticator for verifying client certificate with the specified authentication callback when the TLS client certificate authentication is used.
◆ CBLListenerAuth_CreateCertificateWithRootCerts()
Creates a certificate authenticator for verifying client certificate with the specified root certificate chain to trust when the TLS client certificate authentication is used.
◆ CBLListenerAuth_CreatePassword()
Creates a password authenticatorfor verifying client credentials when the HTTP Basic Authentication is used.
◆ CBLListenerAuth_Free()
◆ CBLURLEndpointListener_Config()
Gets the listener's configuration.
◆ CBLURLEndpointListener_Create()
Creates a URL endpoint listener with the given configuration.
- Note
- You are responsible for releasing the returned reference.
◆ CBLURLEndpointListener_Port()
The listening port of the listener.
If the listener is not started, the port will be zero.
◆ CBLURLEndpointListener_Release()
◆ CBLURLEndpointListener_Retain()
◆ CBLURLEndpointListener_Start()
◆ CBLURLEndpointListener_Status()
Gets the current connection status of the listener.
◆ CBLURLEndpointListener_Stop()
◆ CBLURLEndpointListener_TLSIdentity()
The TLS identity used by the listener for TLS communication.
The value will be nullptr if the listener is not started, or if the TLS is disabled.
- Note
- The returned identity remains valid until the listener is stopped or released. If you want to keep it longer, retain it with CBLTLSIdentity_Retain.
◆ CBLURLEndpointListener_Urls()
The possible URLs of the listener.
If the listener is not started, NULL will be returned.
- Note
- You are responsible for releasing the returned reference.