R: Class 'App'

App-class {Rook} | R Documentation

## Class `App`

### Description

Abstract class from which `Middleware` and `Builder` inherit. Provides the `app` field.

`App` can also be used to instantiate reference classed applications wrapped around a function. See `Middleware` for an example.

### Fields

`app`:

  A Rook application.

### Methods

`new(app=NULL)`:

  Creates a new `App` object. `app` is any `Rook` aware R object.

### See Also

`is_rookable`, `Builder`, and `Middleware`.

[Package Rook version 1.1-1 Index]