Skip to content

Access rustls::Session from hyper::Service #146

Description

@ipetr0v

Currently the parameters of hyper::Service::call only include a Request. And I'm curious if it's possible to access rustls::Session somewhere from the Service.

Accessing TLS session could be useful for multiple reasons, for example for implementing applications that rely on the TLS Keying Material (provided by rustls::Session::export_keying_material).

cc @tiziano88

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions