Skip to content

HTTP10

[Source]

HTTP/1.0

primitive val HTTP10 is
  _Version val

Implements

  • _Version val

Constructors

create

[Source]

new val create()
: HTTP10 val^

Returns


Public Functions

string

[Source]

fun box string()
: String iso^

Returns


to_bytes

[Source]

fun box to_bytes()
: Array[U8 val] val

Returns


u64

[Source]

Representation of the bytes for this HTTP Version on the wire in form of an 8-byte unsigned integer with the ASCII bytes written from highest to least significant byte.

Result: 0x485454502F312E30

fun box u64()
: U64 val

Returns


eq

[Source]

fun box eq(
  o: ((HTTP09 val | HTTP10 val | HTTP11 val) & _Version val))
: Bool val

Parameters

Returns


lt

[Source]

fun box lt(
  o: ((HTTP09 val | HTTP10 val | HTTP11 val) & _Version val))
: Bool val

Parameters

Returns


ne

fun box ne(
  that: ((HTTP09 val | HTTP10 val | HTTP11 val) & _Version val))
: Bool val

Parameters

Returns


le

fun box le(
  that: ((HTTP09 val | HTTP10 val | HTTP11 val) & _Version val))
: Bool val

Parameters

Returns


ge

fun box ge(
  that: ((HTTP09 val | HTTP10 val | HTTP11 val) & _Version val))
: Bool val

Parameters

Returns


gt

fun box gt(
  that: ((HTTP09 val | HTTP10 val | HTTP11 val) & _Version val))
: Bool val

Parameters

Returns


compare

fun box compare(
  that: ((HTTP09 val | HTTP10 val | HTTP11 val) & _Version val))
: (Less val | Equal val | Greater val)

Parameters

Returns