Skip to content

Methods

[Source]

Parse HTTP method strings and enumerate known methods.

primitive val Methods

Constructors

create

[Source]

new val create()
: Methods val^

Returns


Public Functions

parse

[Source]

Parse a string into an HTTP method, or None if not recognized.

fun box parse(
  data: String val)
: (Method val | None val)

Parameters

Returns


valid

[Source]

Return all standard HTTP methods.

fun box valid()
: Array[Method val] val

Returns


eq

[Source]

fun box eq(
  that: Methods val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: Methods val)
: Bool val

Parameters

Returns