diff options
Diffstat (limited to 'src/cowboy_spdy.erl')
-rw-r--r-- | src/cowboy_spdy.erl | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cowboy_spdy.erl b/src/cowboy_spdy.erl index cd43399..2628ab5 100644 --- a/src/cowboy_spdy.erl +++ b/src/cowboy_spdy.erl @@ -54,15 +54,15 @@ -record(state, { parent = undefined :: pid(), - socket, - transport, + socket :: inet:socket(), + transport :: module(), buffer = <<>> :: binary(), - middlewares, - env, - onresponse, - peer, - zdef, - zinf, + middlewares :: [module()], + env :: cowboy_middleware:env(), + onresponse :: cowboy:onresponse_fun(), + peer :: {inet:ip_address(), inet:port_number()}, + zdef :: zlib:zstream(), + zinf :: zlib:zstream(), last_streamid = 0 :: streamid(), children = [] :: [#child{}] }). |