Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. setFragmentReassemblyBufferSize :: Int -> EndpointConfig -> EndpointConfig

    reliable-io Reliable.IO

    Sets the maximum number of in flight packet fragments that we can store in order to properly recreate the packets upon receipt. This buffer is used to process out of order and dropped packets, as fragments from a packet may not arrive contiguously. Default value is 64.

  2. setMaxNumFragments :: Int -> EndpointConfig -> EndpointConfig

    reliable-io Reliable.IO

    Sets the number of fragments per packet in this endpoint. This is only to make sure that the endpoint has enough buffer space provisioned for incoming packets. Default for this value is 16, and the maximum value is 256.

  3. setMaxPacketSize :: Int -> EndpointConfig -> EndpointConfig

    reliable-io Reliable.IO

    Sets the maximum packet size for the endpoint. This will allow the API to know when to throw an error when the packet being sent is too big. The packet size is purely application specific, but may be useful for making sure that your data sizes don't grow too large during development. The default value for this is 16KB.

  4. setName :: String -> EndpointConfig -> EndpointConfig

    reliable-io Reliable.IO

    Sets the name of the endpoint. This is usually not relevant, except when setting the log level to be more than LogLevel'None.

  5. setPacketFragmentSize :: Int -> EndpointConfig -> EndpointConfig

    reliable-io Reliable.IO

    Sets the fragment size for this endpoint. The fragment size determines the size in bytes of each fragment. This need not be the same as the fragmentation limit, although that is certainly a sensible choice. The default for this value is 1KB.

  6. setPacketFragmentationLimit :: Int -> EndpointConfig -> EndpointConfig

    reliable-io Reliable.IO

    Sets the fragmentation limit for this endpoint. The fragmentation limit is the size in bytes for a packet where it will be split into multiple fragments. This need not be maxPacketSize / maxNumFragments, but that is usually a sensible choice. The default value is 1KB.

  7. setPacketLossSmoothingFactor :: Float -> EndpointConfig -> EndpointConfig

    reliable-io Reliable.IO

    Sets the packet loss smoothing factor. This is purely for diagnostic purposes when determining what the packet loss rate is for this endpoint. Smaller numbers will vary the packet loss measurement more slowly. Default value is 0.1f.

  8. setPacketType :: PacketType -> EndpointConfig -> EndpointConfig

    reliable-io Reliable.IO

    Sets the packet type for this endpoint, which determines the header size that the library needs to allocate in order to properly keep track of the packets.

  9. setRTTSmoothingFactor :: Float -> EndpointConfig -> EndpointConfig

    reliable-io Reliable.IO

    Sets the round trip time smoothing factor. This is purely for diagnostic purposes when determining what the round trip time is for this endpoint. Smaller numbers will vary the RTT measurement more slowly. Default value is 0.0025f.

  10. setReceivedPacketsBufferSize :: Int -> EndpointConfig -> EndpointConfig

    reliable-io Reliable.IO

    Sets the maximum number of packets for which to store received packet info. Useful for properly acking packets and for accurately computing bandwidth of the endpoint. Default value is 256.

Page 835 of many | Previous | Next