aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_req.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2016-06-22 11:22:34 +0200
committerLoïc Hoguin <[email protected]>2016-06-22 11:22:34 +0200
commit8905cc44f20a42f60a612ba5397ea32a2cea984f (patch)
treed9a9547483b24dcb05161814beeca7ffcfb4dd9a /src/cowboy_req.erl
parent0e68b2a3f579005302ff88a5c0d0a75fd486b9b6 (diff)
downloadcowboy-8905cc44f20a42f60a612ba5397ea32a2cea984f.tar.gz
cowboy-8905cc44f20a42f60a612ba5397ea32a2cea984f.tar.bz2
cowboy-8905cc44f20a42f60a612ba5397ea32a2cea984f.zip
Remove cowboy_req:append_buffer/2
Diffstat (limited to 'src/cowboy_req.erl')
-rw-r--r--src/cowboy_req.erl5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cowboy_req.erl b/src/cowboy_req.erl
index 7528d16..626f4a5 100644
--- a/src/cowboy_req.erl
+++ b/src/cowboy_req.erl
@@ -81,7 +81,6 @@
-export([ensure_response/2]).
%% Private setter/getter API.
--export([append_buffer/2]).
-export([get/2]).
-export([set/2]).
@@ -997,10 +996,6 @@ ensure_response(#http_req{}, _) ->
%% Private setter/getter API.
--spec append_buffer(binary(), Req) -> Req when Req::req().
-append_buffer(Suffix, Req=#http_req{buffer=Buffer}) ->
- Req#http_req{buffer= << Buffer/binary, Suffix/binary >>}.
-
-spec get(atom(), req()) -> any(); ([atom()], req()) -> any().
get(List, Req) when is_list(List) ->
[g(Atom, Req) || Atom <- List];