mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Move the opaque type sslsocket() out of include/types.hrl.
This commit is contained in:
parent
15dc645596
commit
61d755f8cc
2 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,6 @@
|
||||||
{takeover, Node::node()} | {failover, Node::node()}.
|
{takeover, Node::node()} | {failover, Node::node()}.
|
||||||
|
|
||||||
-type posix() :: atom().
|
-type posix() :: atom().
|
||||||
-opaque sslsocket() :: term().
|
|
||||||
-type port_number() :: 0..65535.
|
-type port_number() :: 0..65535.
|
||||||
|
|
||||||
-type bindings() :: list({Key::atom(), Value::string()}).
|
-type bindings() :: list({Key::atom(), Value::string()}).
|
||||||
|
|
|
@ -16,6 +16,8 @@
|
||||||
-export([name/0, messages/0, listen/1, accept/2, recv/3, send/2, setopts/2,
|
-export([name/0, messages/0, listen/1, accept/2, recv/3, send/2, setopts/2,
|
||||||
controlling_process/2, peername/1, close/1]). %% API.
|
controlling_process/2, peername/1, close/1]). %% API.
|
||||||
|
|
||||||
|
-opaque sslsocket() :: term().
|
||||||
|
|
||||||
-include("include/types.hrl").
|
-include("include/types.hrl").
|
||||||
|
|
||||||
%% API.
|
%% API.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue