OwinHttpListener.SetRequestProcessingLimits Method

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

'Declaration
Public Sub SetRequestProcessingLimits ( _
    maxAccepts As Integer, _
    maxRequests As Integer _
)
'Usage
Dim instance As OwinHttpListener 
Dim maxAccepts As Integer 
Dim maxRequests As Integer

instance.SetRequestProcessingLimits(maxAccepts, _
    maxRequests)
public void SetRequestProcessingLimits(
    int maxAccepts,
    int maxRequests
)
public:
void SetRequestProcessingLimits(
    int maxAccepts, 
    int maxRequests
)
member SetRequestProcessingLimits : 
        maxAccepts:int * 
        maxRequests:int -> unit
public function SetRequestProcessingLimits(
    maxAccepts : int, 
    maxRequests : int
)

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

Reference

OwinHttpListener Class

Microsoft.Owin.Host.HttpListener Namespace