get_query_param: Get Query Parameters

View source: R/paths.R

get_query_paramR Documentation

Get Query Parameters

Description

Convenience function to retrieve any params that were part of the requested page. The param values returned come from "httr::parse_url()"

Usage

get_query_param(field = NULL, session = shiny::getDefaultReactiveDomain())

Arguments

field

If provided, retrieve only a param with this name. (Otherwise, return all params)

session

The Shiny session

Value

The full list of params on the URL (if any), as a list. Or, the single requested param (if present). Or NULL if there's no input, or no params.


shiny.router documentation built on April 18, 2023, 9:08 a.m.