dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlHttpOptions Class / MySqlHttpOptions Constructor
The url of the tunneling PHP script.
The user name for HTTP authorization.
The password for HTTP authorization.
Host name or IP address of the tunneling server.
Port number of the server.
A value indicating whether data padding is enabled when message size is smaller than Devart.Common.HttpOptions.ContentLength.
The Content-Length HTTP header parameter.
The maximum connection age in seconds.
The timeout in seconds to send Keep-Alive HTTP packets.
Specifies whether to encode data to MIME base64 format before sending them with the POST Request.

In This Topic
    MySqlHttpOptions Constructor
    In This Topic
    Initializes a new instance of the Devart.Common.HttpOptions class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal url As String, _
       ByVal user As String, _
       ByVal password As String, _
       ByVal host As String, _
       ByVal port As Integer, _
       ByVal strictContentLength As Boolean, _
       ByVal contentLength As Integer, _
       ByVal maxConnectionAge As Integer, _
       ByVal keepAlive As Integer, _
       ByVal base64 As Boolean _
    )
    public MySqlHttpOptions( 
       string url,
       string user,
       string password,
       string host,
       int port,
       bool strictContentLength,
       int contentLength,
       int maxConnectionAge,
       int keepAlive,
       bool base64
    )

    Parameters

    url
    The url of the tunneling PHP script.
    user
    The user name for HTTP authorization.
    password
    The password for HTTP authorization.
    host
    Host name or IP address of the tunneling server.
    port
    Port number of the server.
    strictContentLength
    A value indicating whether data padding is enabled when message size is smaller than Devart.Common.HttpOptions.ContentLength.
    contentLength
    The Content-Length HTTP header parameter.
    maxConnectionAge
    The maximum connection age in seconds.
    keepAlive
    The timeout in seconds to send Keep-Alive HTTP packets.
    base64
    Specifies whether to encode data to MIME base64 format before sending them with the POST Request.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also