Packages

p

httpc

net

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

    An Internet address

  2. case class ConnectionId (id: Int) extends Product with Serializable
  3. type Interpreter = FunctionK[NetOp, [β$0$]Either[NetError, β$0$]]
  4. trait Net extends AnyRef

    Network operations

  5. type NetAction[A] = Free[NetOp, A]
  6. sealed trait NetError extends AnyRef
  7. case class Port extends Product with Serializable
  8. class SocketStore extends AnyRef

    Mutable storage of Sockets

Value Members

  1. def connect(address: Address, port: Port): NetAction[ConnectionId]

    Opens a connection to the given address and port

    Opens a connection to the given address and port

    Definition Classes
    Net
  2. def connectSsl(address: Address, port: Port): NetAction[ConnectionId]

    Opens a secure connection to the given address and port

    Opens a secure connection to the given address and port

    Definition Classes
    Net
  3. def disconnect(connectionId: ConnectionId): NetAction[Unit]

    Disconnects from a connection

    Disconnects from a connection

    Definition Classes
    Net
  4. def lookupAddress(hostname: String): NetAction[Address]

    Looks up an address by its hostname

    Looks up an address by its hostname

    Definition Classes
    Net
  5. def mustRead(connectionId: ConnectionId, length: Int): NetAction[ByteVector]

    Keeps re-reading until getting the specified amount of bytes

    Keeps re-reading until getting the specified amount of bytes

    Definition Classes
    Net
  6. def read(connectionId: ConnectionId, length: Int): NetAction[ByteVector]

    Reads data from a connection

    Reads data from a connection

    Definition Classes
    Net
  7. def readUntil(conId: ConnectionId, marker: Byte): NetAction[ByteVector]

    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
  8. def write(connectionId: ConnectionId, data: ByteVector): NetAction[Unit]

    Writes data to a connection

    Writes data to a connection

    Definition Classes
    Net
  9. object Bytes
  10. object Locks
  11. object NetAction
  12. object NetError
  13. object NetInterpreters

    Interpreters for network communication

  14. object Port extends Serializable
  15. object ScodecInstances
  16. object SocketStore

Inherited from Net

Inherited from AnyRef

Inherited from Any

Ungrouped