Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
leptus
leptus_req-add-qs_vals-1.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File leptus_req-add-qs_vals-1.patch of Package leptus
From 4281d28f40b50ea3598cb09672cac2503a5d630d Mon Sep 17 00:00:00 2001 From: Led <ledest@gmail.com> Date: Wed, 26 Aug 2015 11:34:44 +0300 Subject: [PATCH 1/3] leptus_req: add qs_vals/1 --- src/leptus_req.erl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/leptus_req.erl b/src/leptus_req.erl index e45d116..c222f5d 100644 --- a/src/leptus_req.erl +++ b/src/leptus_req.erl @@ -32,6 +32,7 @@ -export([params/1]). -export([qs/1]). -export([qs_val/2]). +-export([qs_vals/1]). -export([uri/1]). -export([version/1]). -export([method/1]). @@ -88,6 +89,10 @@ qs(Pid) -> qs_val(Pid, Key) -> invoke(Pid, qs_val, [Key]). +-spec qs_vals(pid()) -> [{binary(), binary() | true}]. +qs_vals(Pid) -> + invoke(Pid, qs_vals, []). + -spec uri(pid()) -> binary(). uri(Pid) -> Path = invoke(Pid, path, []), -- 2.1.4
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