Connection
class Connection(val origin: Request.Connection.Details, val local: Request.Connection.Details)(source)
Top-level container class for views about a connection for some request.
You may wish to review Ktor docs about Forwarding Headers if you want to learn more about how the origin and local views can be different.
Properties
Link copied to clipboard
Details about the request's connection at the point it was received by the server. This can be different from origin if the server is behind a proxy (that is, the request was intercepted and rerouted), at which point the connection details will be about the proxy, not the client.
Link copied to clipboard
Details about the request's connection point of origin (i.e. the client).