docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
sdfg::passes::rpc::SimpleRpcContext Class Reference

#include <sdfg/passes/rpc/rpc_context.h>

Inheritance diagram for sdfg::passes::rpc::SimpleRpcContext:
[legend]

Public Member Functions

 SimpleRpcContext (std::string server, std::string endpoint, std::unordered_map< std::string, std::string > headers={})
std::string get_remote_address () const override
std::unordered_map< std::string, std::string > get_auth_headers () const override
std::optional< std::string > start_session () override
Public Member Functions inherited from sdfg::passes::rpc::RpcContext
virtual ~RpcContext ()=default

Protected Member Functions

void set_server (std::string server)

Constructor & Destructor Documentation

◆ SimpleRpcContext()

sdfg::passes::rpc::SimpleRpcContext::SimpleRpcContext ( std::string server,
std::string endpoint,
std::unordered_map< std::string, std::string > headers = {} )
inline

Member Function Documentation

◆ get_auth_headers()

std::unordered_map< std::string, std::string > sdfg::passes::rpc::SimpleRpcContext::get_auth_headers ( ) const
inlineoverridevirtual

◆ get_remote_address()

std::string sdfg::passes::rpc::SimpleRpcContext::get_remote_address ( ) const
inlineoverridevirtual

◆ set_server()

void sdfg::passes::rpc::SimpleRpcContext::set_server ( std::string server)
inlineprotected

◆ start_session()

std::optional< std::string > sdfg::passes::rpc::SimpleRpcContext::start_session ( )
overridevirtual

Reimplemented from sdfg::passes::rpc::RpcContext.


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