handlers: Set or add to handler lists

Description Usage Arguments Examples

Description

Set or add to a list of request-handling functions. Request-handling functions must take a request and return a request.

Usage

1
2
3
4
5

Arguments

...

One or more request-handling functions to add.

existing

An existing request handler list.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
# Replace a handler list with a new handler list.
handlers$build <- handlers_set(restxml_build)

# Add a new handler onto the end of an existing handler list.
handlers$build <- handlers_add_back(handlers$build, restxml_build)

# Add a new handler at the beginning of an existing handler list.
handlers$build <- handlers_add_front(handlers$build, restxml_build)

## End(Not run)

paws.common documentation built on Dec. 11, 2021, 10:02 a.m.