Learn R Programming

tower (version 0.2.0)

add_patch_route: Add a PATCH route

Description

Adds a PATCH route to a tower

Usage

add_patch_route(tower, path, handler)

Value

The tower with the added PATCH route

Arguments

tower

A tower object

path

A string containing the path to match

handler

A function to call when the route is matched