0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 20:50:24 +00:00

Use the inet:socket() type instead of the user-defined one.

This commit is contained in:
Loïc Hoguin 2011-04-18 00:06:26 +02:00
parent 9ad32386c0
commit 15dc645596
6 changed files with 17 additions and 17 deletions

View file

@ -14,7 +14,7 @@
-record(http_req, {
%% Transport.
socket = undefined :: undefined | socket(),
socket = undefined :: undefined | inet:socket(),
transport = undefined :: undefined | module(),
connection = keepalive :: keepalive | close,

View file

@ -16,7 +16,6 @@
{takeover, Node::node()} | {failover, Node::node()}.
-type posix() :: atom().
-opaque socket() :: term().
-opaque sslsocket() :: term().
-type port_number() :: 0..65535.