ChunkedHttpRequestMessageManagerTHandler Class

Manages received chunked and non-chunked HttpRequestMessages.

Inheritance Hierarchy

SystemObject
  TcHmiSrv.Core.Tools.Net.Http.ManagersChunkedHttpRequestMessageManagerTHandler
    TcHmiSrv.Core.Tools.Net.Http.ManagersFileUploadHttpRequestMessageManager

Namespace: TcHmiSrv.Core.Tools.Net.Http.Managers
Assembly: TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

public abstract class ChunkedHttpRequestMessageManager<THandler> : IReadOnlyDictionary<Context, THandler>, 
    IEnumerable<KeyValuePair<Context, THandler>>, IEnumerable, IReadOnlyCollection<KeyValuePair<Context, THandler>>, 
    IDisposable
where THandler : IChunkedHttpRequestMessageHandler

Type Parameters

THandler

The type of the IChunkedHttpRequestMessageHandlers the received data is written to.

The ChunkedHttpRequestMessageManagerTHandler type exposes the following members.

Constructors

 

Name

Description

ChunkedHttpRequestMessageManagerTHandler Class 1:

ChunkedHttpRequestMessageManagerTHandler

Initializes a new instance of the ChunkedHttpRequestMessageManagerTHandler class.

Properties

 

Name

Description

ChunkedHttpRequestMessageManagerTHandler Class 2:

Count

Gets the number of elements in the collection.

ChunkedHttpRequestMessageManagerTHandler Class 3:

Item

Gets the element that has the specified key in the read-only dictionary.

ChunkedHttpRequestMessageManagerTHandler Class 4:

Keys

Gets an enumerable collection that contains the keys in the read-only dictionary.

ChunkedHttpRequestMessageManagerTHandler Class 5:

Values

Gets an enumerable collection that contains the values in the read-only dictionary.

Methods

 

Name

Description

ChunkedHttpRequestMessageManagerTHandler Class 6:

ContainsKey

Determines whether the read-only dictionary contains an element that has the specified key.

ChunkedHttpRequestMessageManagerTHandler Class 7:

CreateHandler

Creates an IChunkedHttpRequestMessageHandler the received data is written to.

ChunkedHttpRequestMessageManagerTHandler Class 8:

CreateResponse

Creates an HttpResponseMessage for the specified IChunkedHttpRequestMessageHandler.

ChunkedHttpRequestMessageManagerTHandler Class 9:

Dispose

Releases all resources used by the ChunkedHttpRequestMessageManagerTHandler

ChunkedHttpRequestMessageManagerTHandler Class 10:

Dispose(Boolean)

Releases the unmanaged resources used by the ChunkedHttpRequestMessageManagerTHandler and optionally releases the managed resources

ChunkedHttpRequestMessageManagerTHandler Class 11:

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)

ChunkedHttpRequestMessageManagerTHandler Class 12:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)

ChunkedHttpRequestMessageManagerTHandler Class 13:

GetEnumerator

Returns an enumerator that iterates through the collection.

ChunkedHttpRequestMessageManagerTHandler Class 14:

GetHashCode

Serves as the default hash function.
(Inherited from Object)

ChunkedHttpRequestMessageManagerTHandler Class 15:

GetType

Gets the Type of the current instance.
(Inherited from Object)

ChunkedHttpRequestMessageManagerTHandler Class 16:

MemberwiseClone

Creates a shallow copy of the current Object.
(Inherited from Object)

ChunkedHttpRequestMessageManagerTHandler Class 17:

ToString

Returns a string that represents the current object.
(Inherited from Object)

ChunkedHttpRequestMessageManagerTHandler Class 18:

TryGetValue

Gets the value that is associated with the specified key.

ChunkedHttpRequestMessageManagerTHandler Class 19:

Write

Writes the Body of the specified HttpRequestMessage to the the IChunkedHttpRequestMessageHandler associated with the specified Context.

Events

 

Name

Description

ChunkedHttpRequestMessageManagerTHandler Class 20:

ChunkWritten

Called when the received data of an HttpRequestMessage that requests chunking is written.

ChunkedHttpRequestMessageManagerTHandler Class 21:

MessageWritten

Called when all received data of an HttpRequestMessage is written. This is the case when the received data of an HttpRequestMessage that does not request chunking has been written or when the final chunk of an HttpRequestMessage that requests chunking has been received.

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

TcHmiSrv.Core.Tools.Net.Http.Managers Namespace

Copyright © Beckhoff Automation GmbH & Co. KG