Skip to content

eth::rpc::RpcHttpTransport

#include <rpc_http_transport.hpp>

Inherits from eth::rpc::JsonRpcTransport

Public Functions

Name
RpcHttpTransport(std::string endpoint_url, RpcHttpTransportOptions options ={})
virtual std::optional< std::string > call(const boost::json::object & request) override
std::string_view endpoint_url() const

Additional inherited members

Public Functions inherited from eth::rpc::JsonRpcTransport

Name
virtual ~JsonRpcTransport() =default

Public Functions Documentation

function RpcHttpTransport

explicit RpcHttpTransport(
    std::string endpoint_url,
    RpcHttpTransportOptions options ={}
)

function call

virtual std::optional< std::string > call(
    const boost::json::object & request
) override

Reimplements: eth::rpc::JsonRpcTransport::call

function endpoint_url

inline std::string_view endpoint_url() const

Updated on 2026-06-05 at 17:22:18 -0700