Package

httpc

net

Permalink

package net

TCP Networking

Linear Supertypes
Net, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. net
  2. Net
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Address extends Product with Serializable

    Permalink

    An Internet address

  2. case class ConnectionId(id: Int) extends Product with Serializable

    Permalink
  3. type Length = Refined[Int, NonNegative]

    Permalink
  4. trait Net extends AnyRef

    Permalink

    Network operations

  5. sealed trait NetError extends AnyRef

    Permalink
  6. type NetIo[A] = Free[NetIoOp, A]

    Permalink
  7. case class Port extends Product with Serializable

    Permalink

Value Members

  1. object Bytes

    Permalink
  2. object NetError

    Permalink
  3. object NetInterpreters

    Permalink

    Interpreters for network communication

  4. object NetIo

    Permalink
  5. object Port extends Serializable

    Permalink
  6. def connect(address: Address, port: Port): NetIo[ConnectionId]

    Permalink

    Opens a connection to the given address and port

    Opens a connection to the given address and port

    Definition Classes
    Net
  7. def disconnect(connectionId: ConnectionId): NetIo[Unit]

    Permalink

    Disconnects from a connection

    Disconnects from a connection

    Definition Classes
    Net
  8. def length(v: Int): Option[Length]

    Permalink
  9. def lookupAddress(hostname: String): NetIo[Address]

    Permalink

    Looks up an address by its hostname

    Looks up an address by its hostname

    Definition Classes
    Net
  10. def read(connectionId: ConnectionId, length: Length): NetIo[Array[Byte]]

    Permalink

    Reads data from a connection

    Reads data from a connection

    Definition Classes
    Net
  11. def readUntil(conId: ConnectionId, marker: Byte): NetIo[Vector[Byte]]

    Permalink

    Reads bytes until the specified marker byte and returns all bytes including the marker suffix

    Reads bytes until the specified marker byte and returns all bytes including the marker suffix

    Definition Classes
    Net
  12. package sockets

    Permalink

    Unsafe TCP networking

  13. def write(connectionId: ConnectionId, data: Array[Byte]): NetIo[Unit]

    Permalink

    Writes data to a connection

    Writes data to a connection

    Definition Classes
    Net

Inherited from Net

Inherited from AnyRef

Inherited from Any

Ungrouped