request_handler_handler: request_handler_handler

Description Usage Arguments Value

View source: R/request_handler_handler.R

Description

Helper function to handle robotstxt hanlders.

Usage

1
2
request_handler_handler(request, handler, res, info = TRUE,
  warn = TRUE)

Arguments

request

the request object returned by call to httr::GET()

handler

the handler either a character string entailing various options or a function producing a specific list, see return.

res

a list a list with elements '[handler names], ...', 'rtxt', and 'cache'

info

info to add to problems list

warn

if FALSE warnings and messages are suppressed

Value

a list with elements '[handler name]', 'rtxt', and 'cache'


petermeissner/robotstxt documentation built on May 25, 2019, 1:56 a.m.