Opcode

scamper.http.websocket.Opcode
See theOpcode companion trait
object Opcode

Provides factory methods and registry for Opcode.

Attributes

See also
Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Opcode.type

Members list

Type members

Classlikes

object Registry

Contains registered WebSocket opcodes.

Contains registered WebSocket opcodes.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Registry.type

Value members

Concrete methods

def apply(value: Int): Opcode

Gets registered opcode for given value.

Gets registered opcode for given value.

Attributes

Throws
java.util.NoSuchElementException

if value not registered

def get(value: Int): Option[Opcode]

Gets opcode for given value, if registered.

Gets opcode for given value, if registered.

Attributes