StormByte-Network 4.0.0
C++26 networking module of the StormByte suite
Loading...
Searching...
No Matches
client.hxx File Reference
#include <StormByte/crypto/tls/session.hxx>
#include <StormByte/expected.hxx>
#include <StormByte/network/visibility.h>
#include <StormByte/safe/atomic.hxx>
#include <StormByte/safe/binary.hxx>
#include <StormByte/safe/pointers.hxx>
#include <StormByte/safe/string.hxx>
#include <StormByte/safe/vector.hxx>
#include <chrono>
#include <cstddef>
#include <span>
#include <string_view>
Include dependency graph for client.hxx:

Go to the source code of this file.

Classes

struct  StormByte::Network::HTTP::Header
 One header occurrence, preserving duplicates and received order. More...
struct  StormByte::Network::HTTP::Request
 Fully buffered request. More...
struct  StormByte::Network::HTTP::Response
 Fully buffered final response; informational responses are consumed, 3xx is returned unchanged, and body bytes are not decompressed. More...
class  StormByte::Network::HTTP::Receiver
 Borrowed streaming consumer of the final response body. More...
struct  StormByte::Network::HTTP::Options
 Scalar request limits. More...
class  StormByte::Network::HTTP::Client
 Synchronous single-request-per-connection client. More...

Namespaces

namespace  StormByte
 Root namespace of the StormByte suite.
namespace  StormByte::Network
 Network module of the StormByte suite.
namespace  StormByte::Network::Connection
 Connection namespace.
namespace  StormByte::Network::Detail
 Network-owned endpoint implementation state.
namespace  StormByte::Network::HTTP
 Bounded HTTP client API; no HTTP server or HTTP/3.

Enumerations

enum class  StormByte::Network::HTTP::Error {
  StormByte::Network::HTTP::InvalidURL , StormByte::Network::HTTP::InvalidRequest , StormByte::Network::HTTP::InvalidOptions , StormByte::Network::HTTP::LimitExceeded ,
  StormByte::Network::HTTP::TimedOut , StormByte::Network::HTTP::Cancelled , StormByte::Network::HTTP::ResolverBusy , StormByte::Network::HTTP::Transport ,
  StormByte::Network::HTTP::TLS , StormByte::Network::HTTP::Protocol , StormByte::Network::HTTP::Truncated , StormByte::Network::HTTP::HTTP2 ,
  StormByte::Network::HTTP::Allocation , StormByte::Network::HTTP::Rejected
}
 Typed terminal failures; no failed request is replayed. More...
enum class  StormByte::Network::HTTP::Protocol { StormByte::Network::HTTP::Automatic , StormByte::Network::HTTP::HTTP1 , StormByte::Network::HTTP::HTTP2 }
 Protocol selection. More...

Functions

 STORMBYTE_DECLARE_MAYBE_SAFE (StormByte::Network::HTTP::Header)
 STORMBYTE_DECLARE_MAYBE_SAFE (StormByte::Network::HTTP::Request)
 STORMBYTE_DECLARE_MAYBE_SAFE (StormByte::Network::HTTP::Response)
 STORMBYTE_DECLARE_MAYBE_SAFE (StormByte::Network::HTTP::Options)
 STORMBYTE_DECLARE_MAYBE_SAFE (StormByte::Network::HTTP::Client)

Function Documentation

◆ STORMBYTE_DECLARE_MAYBE_SAFE() [1/5]

STORMBYTE_DECLARE_MAYBE_SAFE ( StormByte::Network::HTTP::Client )

◆ STORMBYTE_DECLARE_MAYBE_SAFE() [2/5]

STORMBYTE_DECLARE_MAYBE_SAFE ( StormByte::Network::HTTP::Header )

◆ STORMBYTE_DECLARE_MAYBE_SAFE() [3/5]

STORMBYTE_DECLARE_MAYBE_SAFE ( StormByte::Network::HTTP::Options )

◆ STORMBYTE_DECLARE_MAYBE_SAFE() [4/5]

STORMBYTE_DECLARE_MAYBE_SAFE ( StormByte::Network::HTTP::Request )

◆ STORMBYTE_DECLARE_MAYBE_SAFE() [5/5]

STORMBYTE_DECLARE_MAYBE_SAFE ( StormByte::Network::HTTP::Response )