Discuss this help topic in SecureBlackbox Forum

TElHTTPSServer.ParseMultipartFormData

TElHTTPSServer     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Allows to parse multipart/form-data contents

Declaration

[C#/Java]
    TElMultipartFormList ParseMultipartFormData(TElHTTPServerRequestParams RequestParameters, byte[] Buffer);
    TElMultipartFormList ParseMultipartFormData(TElHTTPServerRequestParams RequestParameters, System.IO.Stream Strm);
    TElMultipartFormList ParseMultipartFormData(TElHTTPServerRequestParams RequestParameters, System.IO.Stream Strm, bool LoadData);

[VB.NET]
    Function ParseMultipartFormData(ByVal RequestParameters As TElHTTPServerRequestParams, ByVal Buffer As Byte()) As TElMultipartFormList
    Function ParseMultipartFormData(ByVal RequestParameters As TElHTTPServerRequestParams, ByVal Strm As System.IO.Stream) As TElMultipartFormList
    Function ParseMultipartFormData(ByVal RequestParameters As TElHTTPServerRequestParams, ByVal Strm As System.IO.Stream, ByVal LoadData As Boolean) As TElMultipartFormList

[Pascal]
    function ParseMultipartFormData(RequestParameters : TElHTTPServerRequestParams; const Buffer : ByteArray) : TElMultipartFormList;
    function ParseMultipartFormData(RequestParameters : TElHTTPServerRequestParams; Strm : TStream) : TElMultipartFormList;

[C++]
    TElMultipartFormListHandle ParseMultipartFormData(TElHTTPServerRequestParams &RequestParameters, const std::vector<uint8_t> &Buffer);
    TElMultipartFormListHandle ParseMultipartFormData(TElHTTPServerRequestParams *RequestParameters, const std::vector<uint8_t> &Buffer);
    TElMultipartFormListHandle ParseMultipartFormData(TElHTTPServerRequestParams &RequestParameters, TStream &Strm);
    TElMultipartFormListHandle ParseMultipartFormData(TElHTTPServerRequestParams *RequestParameters, TStream *Strm);
    TElMultipartFormListHandle ParseMultipartFormData(TElHTTPServerRequestParams &RequestParameters, TStream &Strm, bool LoadData);
    TElMultipartFormListHandle ParseMultipartFormData(TElHTTPServerRequestParams *RequestParameters, TStream *Strm, bool LoadData);

[PHP]
    TElMultipartFormList ParseMultipartFormData(TElHTTPServerRequestParams $RequestParameters, array of byte|string|NULL $Buffer)
    TElMultipartFormList ParseMultipartFormData(TElHTTPServerRequestParams $RequestParameters, TStream $Strm)
    TElMultipartFormList ParseMultipartFormData(TElHTTPServerRequestParams $RequestParameters, TStream $Strm, bool $LoadData)

Parameters

  • RequestParameters - contains HTTP request parameters.
  • Buffer - buffer containing the form data.
  • Strm - stream from which the form data should be read.
  • LoadData -

Return value

    Returns the list of form-data elements.

Description

    Use this method to parse multipart/form-data content on the server.

Discuss this help topic in SecureBlackbox Forum