Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
Loading...
Searching...
No Matches
orbit::http::ClientSendAwaiter Struct Reference

co_await Client::send_async(...): resumes with the ClientResponse. More...

#include <Client.hpp>

Collaboration diagram for orbit::http::ClientSendAwaiter:

Public Member Functions

bool await_ready () const noexcept
 
void await_suspend (std::coroutine_handle<> h)
 
ClientResponse await_resume ()
 

Public Attributes

Client * client
 
ClientRequest request
 
ClientResponse response
 

Detailed Description

co_await Client::send_async(...): resumes with the ClientResponse.

Member Function Documentation

◆ await_ready()

bool orbit::http::ClientSendAwaiter::await_ready ( ) const
inlinenoexcept

◆ await_resume()

ClientResponse orbit::http::ClientSendAwaiter::await_resume ( )
inline

◆ await_suspend()

void orbit::http::ClientSendAwaiter::await_suspend ( std::coroutine_handle<>  h)
inline

Member Data Documentation

◆ client

Client* orbit::http::ClientSendAwaiter::client

◆ request

ClientRequest orbit::http::ClientSendAwaiter::request

◆ response

ClientResponse orbit::http::ClientSendAwaiter::response

The documentation for this struct was generated from the following file: