Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:25
p1_utils
p1_utils-1.0.23-doc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File p1_utils-1.0.23-doc.patch of Package p1_utils
diff -Ndurp p1_utils-1.0.23/src/p1_http.erl p1_utils-1.0.23-doc/src/p1_http.erl --- p1_utils-1.0.23/src/p1_http.erl 2021-07-21 12:08:36.000000000 +0300 +++ p1_utils-1.0.23-doc/src/p1_http.erl 2021-08-24 03:16:13.027154525 +0300 @@ -52,7 +52,7 @@ start() -> stop() -> application:stop(ibrowse). -%% @spec (Method, URL, Hdrs, RequestBody, Options) -> Result +%% request(Method, URL, Hdrs, RequestBody, Options) -> Result %% Method = atom() %% URL = string() %% Hdrs = [{Header, Value}] @@ -105,7 +105,7 @@ start() -> stop() -> application:stop(lhttpc). -%% @spec (Method, URL, Hdrs, RequestBody, Options) -> Result +%% request(Method, URL, Hdrs, RequestBody, Options) -> Result %% Method = atom() %% URL = string() %% Hdrs = [{Header, Value}] @@ -162,7 +162,7 @@ to_list(Str) when is_binary(Str) -> to_list(Str) -> Str. -%% @spec (Method, URL, Hdrs, RequestBody, Options) -> Result +%% request(Method, URL, Hdrs, RequestBody, Options) -> Result %% Method = atom() %% URL = string() %% Hdrs = [{Header, Value}] @@ -225,7 +225,7 @@ set_pool_size(Size) -> -endif. -%% @spec (URL) -> Result +%% get(URL) -> Result %% URL = string() %% Result = {ok, StatusCode, Hdrs, ResponseBody} %% | {error, Reason} @@ -240,7 +240,7 @@ set_pool_size(Size) -> -spec get(string()) -> result(). get(URL) -> request(get, URL, []). -%% @spec (URL, Hdrs) -> Result +%% get(URL, Hdrs) -> Result %% URL = string() %% Hdrs = [{Header, Value}] %% Header = string() @@ -257,7 +257,7 @@ get(URL) -> request(get, URL, []). -spec get(string(), headers()) -> result(). get(URL, Hdrs) -> request(get, URL, Hdrs). -%% @spec (URL, RequestBody) -> Result +%% get(URL, RequestBody) -> Result %% URL = string() %% RequestBody = string() %% Result = {ok, StatusCode, Hdrs, ResponseBody} @@ -276,7 +276,7 @@ post(URL, Body) -> [{"content-type", "x-www-form-urlencoded"}], Body). -%% @spec (URL, Hdrs, RequestBody) -> Result +%% post(URL, Hdrs, RequestBody) -> Result %% URL = string() %% Hdrs = [{Header, Value}] %% Header = string() @@ -314,7 +314,7 @@ to_lower(B) when is_binary(B) -> to_lower(C) -> string:to_lower(C). -%% @spec (Method, URL, Hdrs) -> Result +%% request(Method, URL, Hdrs) -> Result %% Method = atom() %% URL = string() %% Hdrs = [{Header, Value}] @@ -334,7 +334,7 @@ to_lower(C) -> request(Method, URL, Hdrs) -> request(Method, URL, Hdrs, [], []). -%% @spec (Method, URL, Hdrs, RequestBody) -> Result +%% request(Method, URL, Hdrs, RequestBody) -> Result %% Method = atom() %% URL = string() %% Hdrs = [{Header, Value}]
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor