Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-selector
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-selector
Commits
13b3b902
Commit
13b3b902
authored
Oct 02, 2019
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README formatting.
parent
e13017aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
README.rst
README.rst
+16
-16
No files found.
README.rst
View file @
13b3b902
...
...
@@ -308,7 +308,7 @@ or the longest match, and so on::
# bar_backend for /foo/bar/quux
# foo_backend for /foo/quux
.. _
vmod_selector.set
:
.. _
selector.set()
:
new xset = selector.set(BOOL case_sensitive=1)
----------------------------------------------
...
...
@@ -328,7 +328,7 @@ Example::
# ...
}
.. _
vmod_selector.set.add
:
.. _
xset.add()
:
VOID xset.add(STRING, [STRING string], [STRING regex], [BACKEND backend], [INT integer])
----------------------------------------------------------------------------------------
...
...
@@ -379,7 +379,7 @@ Example::
regex="^/quux/([^/]+)/");
}
.. _
vmod_selector.set.create_stats
:
.. _
xset.create_stats()
:
VOID xset.create_stats()
------------------------
...
...
@@ -411,7 +411,7 @@ Example::
myset.create_stats();
}
.. _
vmod_selector.set.match
:
.. _
xset.match()
:
BOOL xset.match(STRING)
-----------------------
...
...
@@ -435,7 +435,7 @@ Example::
call do_on_match;
}
.. _
vmod_selector.set.hasprefix
:
.. _
xset.hasprefix()
:
BOOL xset.hasprefix(STRING)
---------------------------
...
...
@@ -453,7 +453,7 @@ Example::
call do_if_prefix_matched;
}
.. _
vmod_selector.set.nmatches
:
.. _
xset.nmatches()
:
INT xset.nmatches()
-------------------
...
...
@@ -486,7 +486,7 @@ Example::
set bereq.backend = myset.backend(select=UNIQUE);
}
.. _
vmod_selector.set.matched
:
.. _
xset.matched()
:
BOOL xset.matched(INT)
----------------------
...
...
@@ -516,7 +516,7 @@ Example::
}
}
.. _
vmod_selector.set.which
:
.. _
xset.which()
:
INT xset.which(ENUM select)
---------------------------
...
...
@@ -556,7 +556,7 @@ Example::
}
}
.. _
vmod_selector.set.element
:
.. _
xset.element()
:
STRING xset.element(INT n, ENUM select)
---------------------------------------
...
...
@@ -597,7 +597,7 @@ Example::
set resp.http.Location = "http://other.com" + myset.element();
}
.. _
vmod_selector.set.backend
:
.. _
xset.backend()
:
BACKEND xset.backend(INT n, ENUM select)
----------------------------------------
...
...
@@ -629,7 +629,7 @@ Example::
set bereq.backend = myset.backend(select=LONGEST);
}
.. _
vmod_selector.set.string
:
.. _
xset.string()
:
STRING xset.string(INT n, ENUM select)
--------------------------------------
...
...
@@ -658,7 +658,7 @@ Example::
set req.url = myset.string();
}
.. _
vmod_selector.set.integer
:
.. _
xset.integer()
:
INT xset.integer(INT n, ENUM select)
------------------------------------
...
...
@@ -705,7 +705,7 @@ Example::
}
}
.. _
vmod_selector.set.re_match
:
.. _
xset.re_match()
:
BOOL xset.re_match(STRING subject, INT n, ENUM select)
------------------------------------------------------
...
...
@@ -753,7 +753,7 @@ Example::
}
}
.. _
vmod_selector.set.sub
:
.. _
xset.sub()
:
STRING xset.sub(STRING str, STRING sub, BOOL all, INT n, ENUM select)
---------------------------------------------------------------------
...
...
@@ -813,14 +813,14 @@ Example::
# /foo/bar/1/2/* is rewritten as /foo/bar/2/1/*
# /foo/bar/baz/1/2/* is rewritten as /foo/bar/baz/2/1/*
.. _
vmod_selector.set.debug
:
.. _
xset.debug()
:
STRING xset.debug()
-------------------
Intentionally not documented.
.. _
vmod_selector.version
:
.. _
selector.version()
:
STRING version()
----------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment