okhttp / okhttp3 / Handshake / peerPrincipal

peerPrincipal

fun peerPrincipal(): Principal?

Returns the remote peer's principle, or null if that peer is anonymous.