Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix type specs

  • Loading branch information...
commit 08fb5fca44c702a105a90a349a58091dca299e38 1 parent 748781b
@lpgauth authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 include/lhttpc_types.hrl
View
8 include/lhttpc_types.hrl
@@ -1,7 +1,7 @@
%%% ----------------------------------------------------------------------------
%%% Copyright (c) 2009, Erlang Training and Consulting Ltd.
%%% All rights reserved.
-%%%
+%%%
%%% Redistribution and use in source and binary forms, with or without
%%% modification, are permitted provided that the following conditions are met:
%%% * Redistributions of source code must retain the above copyright
@@ -12,7 +12,7 @@
%%% * Neither the name of Erlang Training and Consulting Ltd. nor the
%%% names of its contributors may be used to endorse or promote products
%%% derived from this software without specific prior written permission.
-%%%
+%%%
%%% THIS SOFTWARE IS PROVIDED BY Erlang Training and Consulting Ltd. ''AS IS''
%%% AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
%%% IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -33,7 +33,9 @@
{connect_timeout, timeout()} |
{send_retry, non_neg_integer()} |
{partial_upload, non_neg_integer() | infinity} |
- {partial_download, pid(), non_neg_integer() | infinity}.
+ {partial_download, pid(), non_neg_integer() | infinity} |
+ {max_connections, non_neg_integer()} |
+ {stream_to, pid()}.
-type options() :: [option()].
Please sign in to comment.
Something went wrong with that request. Please try again.