Skip to content

SimpleHandlerFactory[T: HandlerWithoutContext]

[Source]

HandlerFactory for a HandlerWithoutContext.

Just create it like:

let server =
  Server(
    ...,
    SimpleHandlerFactory[MySimpleHandler],
    ...
  )
primitive val SimpleHandlerFactory[T: HandlerWithoutContext]

Constructors

create

[Source]

new val create()
: SimpleHandlerFactory[T] val^

Returns


Public Functions

apply

[Source]

fun box apply(
  session: Session tag)
: Handler ref^

Parameters

Returns


eq

[Source]

fun box eq(
  that: SimpleHandlerFactory[T] val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: SimpleHandlerFactory[T] val)
: Bool val

Parameters

Returns