MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / HTTPRemoteClient

Method HTTPRemoteClient

src/httpserver.h:536–537  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

534 std::atomic<SteadySeconds> m_idle_since;
535
536 explicit HTTPRemoteClient(HTTPServer::Id id, const CService& addr, std::unique_ptr<Sock> socket)
537 : m_id(id), m_addr(addr), m_origin(addr.ToStringAddrPort()), m_sock{std::move(socket)}, m_idle_since{Now<SteadySeconds>()} {}
538
539 // Disable copies (should only be used as shared pointers)
540 HTTPRemoteClient(const HTTPRemoteClient&) = delete;

Callers

nothing calls this directly

Calls 1

ToStringAddrPortMethod · 0.80

Tested by

no test coverage detected