1 2 3 4 5
interface http { use http-types.{request, response, http-error}; send-request: func(req: request) -> result<response, http-error>; }