mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-07 18:37:56 -05:00
grrr cohttp and its signature breakages
This commit is contained in:
parent
9cf2374930
commit
edc3932059
1 changed files with 3 additions and 17 deletions
|
|
@ -143,23 +143,9 @@ let client ?(scope : Otel.Scope.t option) (module C : Cohttp_lwt.S.Client) =
|
||||||
let module Traced = struct
|
let module Traced = struct
|
||||||
open Lwt.Syntax
|
open Lwt.Syntax
|
||||||
|
|
||||||
(* These types and values are not customized by our client, but are required to satisfy
|
(* These types and values are not customized by our client, but are required to satisfy
|
||||||
[Cohttp_lwt.S.Client]. *)
|
[Cohttp_lwt.S.Client]. *)
|
||||||
include (
|
include C
|
||||||
C :
|
|
||||||
sig
|
|
||||||
type ctx = C.ctx
|
|
||||||
|
|
||||||
type 'a io = 'a C.io
|
|
||||||
|
|
||||||
type 'a with_context = 'a C.with_context
|
|
||||||
|
|
||||||
type body = C.body
|
|
||||||
|
|
||||||
val map_context : 'a with_context -> ('a -> 'b) -> 'b with_context
|
|
||||||
|
|
||||||
val set_cache : Cohttp_lwt.S.call -> unit
|
|
||||||
end)
|
|
||||||
|
|
||||||
let attrs_for ~uri ~meth:_ () =
|
let attrs_for ~uri ~meth:_ () =
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue