Show / Hide Table of Contents

    Class ConnectionSourceSettings

    Inheritance
    Object
    ConnectionSourceSettings
    Namespace: Akka.Streams.SignalR.AspNetCore
    Assembly: Akka.Streams.SignalR.AspNetCore.dll
    Syntax
    public sealed class ConnectionSourceSettings : object

    Constructors

    | Improve this Doc View Source

    ConnectionSourceSettings(Int32, OverflowStrategy)

    Declaration
    public ConnectionSourceSettings(int bufferCapacity, OverflowStrategy overflowStrategy)
    Parameters
    Type Name Description
    Int32 bufferCapacity
    OverflowStrategy overflowStrategy

    Fields

    | Improve this Doc View Source

    Default

    Declaration
    public static readonly ConnectionSourceSettings Default
    Field Value
    Type Description
    ConnectionSourceSettings

    Properties

    | Improve this Doc View Source

    BufferCapacity

    Determines capacity of the buffer used in case, when SignalR messages are comming faster than they can be processed by the downstream.

    Declaration
    public int BufferCapacity { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    OverflowStrategy

    Determines the reaction of the buffer in case, when arriving messages will overflow BufferCapacity.

    Keep in mind that is not allowed option, as it's not supported by SignalR in its current version.

    Declaration
    public OverflowStrategy OverflowStrategy { get; }
    Property Value
    Type Description
    OverflowStrategy

    Methods

    | Improve this Doc View Source

    Create(ActorSystem)

    Declaration
    public static ConnectionSourceSettings Create(ActorSystem system)
    Parameters
    Type Name Description
    ActorSystem system
    Returns
    Type Description
    ConnectionSourceSettings
    | Improve this Doc View Source

    Create(Config)

    Declaration
    public static ConnectionSourceSettings Create(Config config)
    Parameters
    Type Name Description
    Config config
    Returns
    Type Description
    ConnectionSourceSettings
    | Improve this Doc View Source

    WithBufferSize(Int32)

    Declaration
    public ConnectionSourceSettings WithBufferSize(int bufferSize)
    Parameters
    Type Name Description
    Int32 bufferSize
    Returns
    Type Description
    ConnectionSourceSettings
    | Improve this Doc View Source

    WithOverflowStrategy(OverflowStrategy)

    Declaration
    public ConnectionSourceSettings WithOverflowStrategy(OverflowStrategy overflowStrategy)
    Parameters
    Type Name Description
    OverflowStrategy overflowStrategy
    Returns
    Type Description
    ConnectionSourceSettings
    • Improve this Doc
    • View Source
    Back to top Copyright © 2013-2020 Akka.NET project
    Generated by DocFX