Loupe - Log - Monitor - Resolve
Gibraltar.Server.Client Namespace / IWebChannelConnection Interface / UploadData Method
The URI of the resource to receive the data. This URI must identify a resource that can accept a request sent with the method specified.
The HTTP method used to send the string to the resource. If null, the default is POST
The content type to inform the server of for this file
Extra headers to add to the request
The number of seconds to wait for a response to the request

In This Topic
    UploadData Method (IWebChannelConnection)
    In This Topic
    Uploads the provided byte array to the specified URI using the provided method.
    Syntax

    Parameters

    relativeUrl
    The URI of the resource to receive the data. This URI must identify a resource that can accept a request sent with the method specified.
    method
    The HTTP method used to send the string to the resource. If null, the default is POST
    contentType
    The content type to inform the server of for this file
    data
    additionalHeaders
    Extra headers to add to the request
    timeout
    The number of seconds to wait for a response to the request

    Return Value

    A byte array containing the body of the response from the resource
    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