Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add the opaque type #client{}/client().

  • Loading branch information...
commit f8ad7ee594629bfe792f5d309ef3a95dfe11613a 1 parent 01ae16f
@archaelus archaelus authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/cowboy_client.erl
View
3  src/cowboy_client.erl
@@ -44,6 +44,9 @@
response_body = undefined :: undefined | non_neg_integer()
}).
+-opaque client() :: #client{}.
+-export_type([client/0]).
+
init(Opts) ->
{ok, #client{opts=Opts}}.
Please sign in to comment.
Something went wrong with that request. Please try again.