HttpSender Class

 

HTTP sender. This sender supports most message types and has no dependency on COM or a client. This is the recommended sender for sending messages to the management point.

We do not recommended that you invoke senders directly. Instead, use SendMessage for sending or receiving data from the management point.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Sender.Http
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

System::Object
  Microsoft.ConfigurationManagement.Messaging.Sender.Http::HttpSender

[SerializableAttribute]
public ref class HttpSender sealed : IMessageSender

NameDescription
System_CAPS_pubmethodHttpSender()

Initializes a new instance of the HttpSender class.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticAllowProxyTraversal

Gets or sets a value that indicates whether proxy traversal by the sender is allowed. The default value is false.

System_CAPS_pubpropertyContentType

Gets or sets the content type. The default value is the .NET default.

System_CAPS_pubpropertyUserAgent

Gets or sets the user agent.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSendAsync(IMessage^)

Sends a message but doesn't receive a reply asynchronously.

System_CAPS_pubmethodSendSync(IMessage^)

Sends a message and retrieves the reply synchronously.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventOnRawDataReceived

Event that is fired when data is received from the wire.

System_CAPS_pubeventOnRawDataSend

Event that is fired when data is transmitted over the wire.

System_CAPS_pubeventOnReceived

Event that is fired after a message is received. The message contents can be changed before the message is returned to the caller. Only SendSync fires this event; SendAsync does not fire this event.

System_CAPS_pubeventOnSend

Event that is fired before a message is sent. The message contents can be changed before the message is delivered or inspected. Both SendSync and SendAsync fire this event.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: