add_put_route: Add a PUT route

View source: R/http_helpers.R

add_put_routeR Documentation

Add a PUT route

Description

Adds a PUT route to a tower

Usage

add_put_route(tower, path, handler)

Arguments

tower

A tower object

path

A string containing the path to match

handler

A function to call when the route is matched

Value

The tower with the added PUT route


tower documentation built on Oct. 30, 2024, 9:28 a.m.