beakr (version 0.3.1)

Listener: Listener class

Description

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

Arguments

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