|
Symbian platform (C++)
SDK native APIs, runtime and tooling
|
Native HTTP client over the existing worker-owned TCP runtime. More...
#include <cpp/symbian/api/include/symbian/api/connectivity/http.h>
Static Public Member Functions | |
| static absl::StatusOr< std::unique_ptr< http::Connection > > | ConnectHost (std::string_view hostname, std::uint16_t port, http::RequestHead request, absl::Time deadline=absl::InfiniteFuture(), http::Protocol protocol=http::Protocol::kHttp11, http::Limits limits={}, std::optional< std::size_t > body_length=0) |
| static absl::StatusOr< std::unique_ptr< http::Connection > > | ConnectIpv4 (std::array< std::uint8_t, 4 > address, std::uint16_t port, http::RequestHead request, http::Protocol protocol=http::Protocol::kHttp11, absl::Time deadline=absl::InfiniteFuture(), http::Limits limits={}, std::optional< std::size_t > body_length=0) |
Native HTTP client over the existing worker-owned TCP runtime.
An explicit address separates routing from the HTTP authority/TLS identity. For HTTPS, establish TlsStream::Connect then pass it to Connection::Client; the negotiated ALPN must match the selected HTTP protocol.
|
inlinestatic |
|
inlinestatic |