Go to the documentation of this file.
65 explicit operator bool() const noexcept {
return m_context ?
true :
false; }
69 int LastError() const noexcept {
return m_lastError; }
103 const std::shared_ptr<Crt::Auth::ICredentialsProvider> &credentialsProvider,
116 const std::shared_ptr<Crt::Auth::ICredentialsProvider> &credentialsProvider,
117 const std::shared_ptr<Crt::Auth::IHttpRequestSigner> &signer,
121 std::shared_ptr<Crt::Auth::IHttpRequestSigner>
Signer;
147 const char *certPath,
148 const char *pkeyPath,
224 explicit operator bool() const noexcept {
return m_isGood; }
228 int LastError() const noexcept {
return aws_last_error(); }
233 uint16_t m_portOverride;
254 int LastError() const noexcept {
return m_client.LastError(); }
258 explicit operator bool() const noexcept {
return m_client ?
true :
false; }
aws_allocator Allocator
Definition: StlAllocator.h:25
Crt::String SigningRegion
Definition: MqttClient.h:128
Definition: SocketOptions.h:55
#define AWS_CRT_CPP_API
Definition: Exports.h:34
std::shared_ptr< Crt::Auth::ICredentialsProvider > CredentialsProvider
Definition: MqttClient.h:120
WebsocketConfig(const Crt::String &signingRegion, Crt::Io::ClientBootstrap *bootstrap, Crt::Allocator *allocator=Crt::g_allocator) noexcept
Definition: MqttClient.cpp:36
aws_byte_cursor ByteCursor
Definition: Types.h:44
Definition: MqttClient.h:138
Allocator * g_allocator
Definition: Api.cpp:28
int LastError() const noexcept
Definition: MqttClient.h:228
Crt::String ServiceName
Definition: MqttClient.h:129
std::shared_ptr< Crt::Auth::IHttpRequestSigner > Signer
Definition: MqttClient.h:121
std::function< void(std::shared_ptr< Http::HttpRequest > req, const OnWebSocketHandshakeInterceptComplete &onComplete)> OnWebSocketHandshakeIntercept
Definition: MqttClient.h:109
Definition: MqttClient.h:31
std::function< std::shared_ptr< Crt::Auth::ISigningConfig >(void)> CreateSigningConfig
Definition: MqttClient.h:84
Definition: TlsOptions.h:195
return true
Definition: cJSON.cpp:1907
int LastError() const noexcept
Definition: MqttClient.h:254
int LastError() const noexcept
Definition: MqttClient.h:69
Definition: Optional.h:32
std::basic_string< char, std::char_traits< char >, StlAllocator< char > > String
Definition: Types.h:58
Definition: Bootstrap.h:45
Definition: MqttClient.h:87
Definition: MqttClient.h:303
Definition: TlsOptions.h:36
Crt::Optional< Crt::Http::HttpClientConnectionProxyOptions > ProxyOptions
Definition: MqttClient.h:127
Definition: MqttClient.h:246
CreateSigningConfig CreateSigningConfigCb
Definition: MqttClient.h:122