Click or drag to resize
HTTPRequest Class

This class encapsulates an HTTP request message received by the service.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.RemoteViz.RenderingHTTPRequest

Namespace: OIV.RemoteViz.Rendering
Assembly: OIV.RemoteViz (in OIV.RemoteViz.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public class HTTPRequest : SoNetBase

The HTTPRequest type exposes the following members.

Constructors
  NameDescription
Public methodHTTPRequest

Creates a GET / HTTP/1.1 HTTP request.

Public methodHTTPRequest(String, String, Int32, Int32)

Creates a HTTP request with the given method, URI (Uniform Resource Identifier) and version.

Public methodHTTPRequest(String, String, Int32, Int32, HTTPHeaders)

Creates a HTTP request with the given method, URI (Uniform Resource Identifier), version and headers.

Top
Methods
  NameDescription
Public methodCopyFrom

Copy assignment operator.

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyContentLength

Returns the value of the Content-Length header field.

Public propertyContentType

Returns the value of the Content-Type header field.

Public propertyHeaders

Returns HTTP headers.

Public propertyHost

Returns the value of the Host header field.

Public propertyMethod

Returns the request method ("GET", "HEAD", "POST", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATH").

Public propertyURI

Returns the URI (Uniform Resource Identifier) being requested.

Public propertyVersion

Returns the HTTP version for incoming request (example "HTTP/1.1").

Public propertyVersionMajor

HTTP uses a "major.minor" numbering scheme to indicate versions of the protocol.

Public propertyVersionMinor

HTTP uses a "major.minor" numbering scheme to indicate versions of the protocol.

Top
Remarks

See Also