Symbian platform (C++)
SDK native APIs, runtime and tooling
Loading...
Searching...
No Matches
symbian::http Namespace Reference

Namespaces

namespace  internal
 

Classes

class  Connection
 Worker-owned HTTP exchange with pull bodies and a response writer. More...
 
class  Http2
 Bounded, I/O-free single-exchange nghttp2 connection. More...
 
struct  Limits
 
struct  RequestHead
 
struct  ResponseHead
 

Typedefs

using Headers = std::vector< std::pair< std::string, std::string > >
 

Enumerations

enum class  Protocol { kHttp11 , kHttp2 }
 
enum class  Role { kClient , kServer }
 

Functions

void NormalizeHeaders (Headers *headers)
 
std::optional< std::string > GetHeader (const Headers &headers, std::string_view name)
 
absl::Status ValidateHeaders (const Headers &headers, const Limits &limits)
 
absl::Status ValidateRequest (const RequestHead &head, const Limits &limits)
 

Typedef Documentation

◆ Headers

using symbian::http::Headers = typedef std::vector<std::pair<std::string, std::string> >

Enumeration Type Documentation

◆ Protocol

enum class symbian::http::Protocol
strong
Enumerator
kHttp11 
kHttp2 

◆ Role

enum class symbian::http::Role
strong
Enumerator
kClient 
kServer 

Function Documentation

◆ GetHeader()

std::optional< std::string > symbian::http::GetHeader ( const Headers &  headers,
std::string_view  name 
)

◆ NormalizeHeaders()

void symbian::http::NormalizeHeaders ( Headers *  headers)

◆ ValidateHeaders()

absl::Status symbian::http::ValidateHeaders ( const Headers &  headers,
const Limits &  limits 
)

◆ ValidateRequest()

absl::Status symbian::http::ValidateRequest ( const RequestHead &  head,
const Limits &  limits 
)