Open leostera opened 5 years ago
I think you don't want to think about if it's http1 or http2 in most cases. If you need special functionality like streaming in either the client or server maybe you should specify that explicitly.
If possible module Httpkit = Httpkit.Make(Httpkit_lwt_unix_h2);
shouldn't be seen by the consumer of Httpkit
in that case.
After starting some work on this it'll require a few changes, but the overall API I'm looking forward to is: