C# Class NLog.Targets.WebServiceTarget.HttpPostFormatterBase

base class for POST formatters, that implement former PrepareRequest() method, that creates the content for the requested kind of HTTP request
Datei anzeigen Open project: NLog/NLog

Public Methods

Method Description
PrepareRequest ( HttpWebRequest request, object parameterValues ) : MemoryStream

Protected Methods

Method Description
HttpPostFormatterBase ( WebServiceTarget target ) : System
InitRequest ( HttpWebRequest request ) : void
WriteContent ( MemoryStream ms, object parameterValues ) : void

Method Details

HttpPostFormatterBase() protected method

protected HttpPostFormatterBase ( WebServiceTarget target ) : System
target WebServiceTarget
return System

InitRequest() protected method

protected InitRequest ( HttpWebRequest request ) : void
request System.Net.HttpWebRequest
return void

PrepareRequest() public method

public PrepareRequest ( HttpWebRequest request, object parameterValues ) : MemoryStream
request System.Net.HttpWebRequest
parameterValues object
return System.IO.MemoryStream

WriteContent() protected abstract method

protected abstract WriteContent ( MemoryStream ms, object parameterValues ) : void
ms System.IO.MemoryStream
parameterValues object
return void