Listener {beakr}R Documentation

Listener class

Description

A Listener object provides a simple, programmatically controlled HTTP protocol listener.

Fields

FUN

Returns function response.

event

Returns event type.

Methods

initialize(FUN, event)

Sets instance object function and event state.

Methods

Public methods


Method new()

Usage
Listener$new(event, FUN, ...)

Method clone()

The objects of this class are cloneable with this method.

Usage
Listener$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

Router and Error


[Package beakr version 0.4.3 Index]