Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cohttp-eio: add Client.make_generic and HTTPS support #1002

Merged
merged 3 commits into from
Oct 27, 2023

Commits on Oct 25, 2023

  1. cohttp-eio: factor out URI resolution

    This is to allow other resolution systems in future.
    talex5 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    c1f0433 View commit details
    Browse the repository at this point in the history
  2. cohttp-eio: add Client.make_generic and HTTPS support

    The new `Client.make_generic` allows the user to provide their own
    function for resolving URIs to flows.
    
    The convenience wrapper `make` now taken an `https` argument,
    which is a function that can be used to wrap raw sockets with a TLS
    library.
    
    The `client_tls.ml` example shows how to use this with tls-eio.
    talex5 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    09d8f14 View commit details
    Browse the repository at this point in the history
  3. Make CI happy

    talex5 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    822285a View commit details
    Browse the repository at this point in the history