Share via


OwinHttpListener.SetRequestProcessingLimits Method (Int32, Int32)

 

These are merged as one call because they should be swapped out atomically. This controls how many requests the server attempts to process concurrently.

Namespace:   Microsoft.Owin.Host.HttpListener
Assembly:  Microsoft.Owin.Host.HttpListener (in Microsoft.Owin.Host.HttpListener.dll)

Syntax

public void SetRequestProcessingLimits(
    int maxAccepts,
    int maxRequests
)
public:
void SetRequestProcessingLimits(
    int maxAccepts,
    int maxRequests
)
member SetRequestProcessingLimits : 
        maxAccepts:int *
        maxRequests:int -> unit
Public Sub SetRequestProcessingLimits (
    maxAccepts As Integer,
    maxRequests As Integer
)

Parameters

  • maxAccepts
    Type: System.Int32

    The maximum number of pending request receives.

  • maxRequests
    Type: System.Int32

    The maximum number of active requests being processed.

See Also

OwinHttpListener Class
Microsoft.Owin.Host.HttpListener Namespace

Return to top