Skip to main content

describe_endpoint

Function describe_endpoint 

Source
pub fn describe_endpoint(endpoint: &str) -> String
Expand description

How an endpoint reads in the log: its transport and its path.

The endpoint is not a secret — the token is, and the token never appears here — but it is long, so it is shortened from the left, keeping the tail that distinguishes one session’s socket from another’s.