Table of Contents

Method WaitForClose

Namespace
Sisk.Core.Http.Streams
Assembly
Sisk.Core.dll

WaitForClose(TimeSpan)

Blocks the current call stack until the connection is terminated by the client or the server, limited to the maximum timeout.

public void WaitForClose(TimeSpan timeout)

Parameters

timeout TimeSpan

Defines the timeout timer before the connection expires without any message.

WaitForClose()

Blocks the current call stack until the connection is terminated by either the client or the server.

public void WaitForClose()