public HttpWebRequest Encode(
RequestFields fields,
string path,
byte[] postedData
)
Public Function Encode( _
ByVal fields As RequestFields, _
ByVal path As String, _
ByVal postedData() As Byte _
) As HttpWebRequest
public:
HttpWebRequest^ Encode(
RequestFields^ fields,
String^ path,
array<byte>^ postedData
)
fields
The Leadtools.Jpip.RequestFields to be transmitted to the JPIP server.
path
A System.String value identifying the server URI.
postedData
An array of bytes to be sent in the request message body. This value can be null.
An System.Net.HttpWebRequest ready to transmit the JPIP request to the server.
If postedData is specified, the System.Net.HttpWebRequest will be created with a POST method and all fields will be encoded to the message body.
You can use the postedData parameter to optimize the process of encoding when sending cache information.
If postedData is null the System.Net.HttpWebRequest will be created with a Get method with the fields encoded in the request URL.
For an example, refer to HttpRequestEncoder.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document