MCPcopy Create free account
hub / github.com/apache/brpc / is_ssl

Method is_ssl

src/brpc/controller.cpp:1576–1579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1574}
1575
1576bool Controller::is_ssl() const {
1577 Socket* s = _current_call.sending_sock.get();
1578 return s != NULL && s->is_ssl();
1579}
1580
1581x509_st* Controller::get_peer_certificate() const {
1582 Socket* s = _current_call.sending_sock.get();

Callers 3

EchoMethod · 0.80
NewMethod · 0.80
PrintConnectionsMethod · 0.80

Calls 1

getMethod · 0.45

Tested by 1

EchoMethod · 0.64