handlers

0th

Percentile

Set or add to handler lists

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

Keywords
internal
Usage
handlers_set(...)

handlers_add_back(existing, ...)

handlers_add_front(existing, ...)

Arguments
...

One or more request-handling functions to add.

existing

An existing request handler list.

Aliases
  • handlers
  • handlers_set
  • handlers_add_back
  • handlers_add_front
Examples
# NOT RUN {
# Replace a handler list with a new handler list.
# }
# NOT RUN {
handlers$build <- handlers_set(restxml_build)
# }
# NOT RUN {
# Add a new handler onto the end of an existing handler list.
# }
# NOT RUN {
handlers$build <- handlers_add_back(handlers$build, restxml_build)
# }
# NOT RUN {
# Add a new handler at the beginning of an existing handler list.
# }
# NOT RUN {
handlers$build <- handlers_add_front(handlers$build, restxml_build)
# }
# NOT RUN {
# }
Documentation reproduced from package paws.common, version 0.1.1, License: Apache License (>= 2.0)

Community examples

Looks like there are no examples yet.