An object that represents various HTTP request options.

Ancestors - Object (PRIM_OBJT)

Details

No detailed help is available for this feature.

Properties

Name

Description

ComponentClassName

ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)

ComponentMembers

ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)

ComponentPatternName

ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)

ComponentTag

Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)

ComponentType

ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)

ComponentTypeName

ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)

Name

Name identifies the component Inherited from Object (PRIM_OBJT)

Owner

Owner owns this component Inherited from Object (PRIM_OBJT)

Parent

The component instance to which this instance is attached. The visual container for a control or the collector of a set of child instances Inherited from Object (PRIM_OBJT)

Timeout

Sets the length of time to request should wait for a response from the server. If the server does not return any response within the specified timeframe, the request times out

Events

Name

Description

CreateInstance

CreateInstance is signalled when an instance of a component is created Inherited from PRIM_SRVM.HttpClientRequestOptions (PRIM_SRVM.HttpClientRequestOptions)

DestroyInstance

DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from PRIM_SRVM.HttpClientRequestOptions (PRIM_SRVM.HttpClientRequestOptions)

Methods

Name

Description

AddBasicAuthorization

Adds a request header that specifies a username and password using HTTP basic authentication scheme. Note that in basic authentication scheme, username/password is sent in clear text, so basic authentication must be used in conjunction with HTTPS/TLS UserName, Password

AddBearerAuthorization

Adds a request header that specifies a bearer token. Bearer token is valid for a period of time and can be used in subsequent requests, so it must be kept secret. Use it only in conjunction with HTTPS/TLS Value

AddHeader

Adds a request header Name, Value

SetMiscProperty

Adds platform-specific properties that control the behaviour of the HTTP request. Each platform (Windows, IBM i) define their own set of properties, and they are directly applied to the underlying operating system API, so their names and values of the properties are governed by the operating system Name, Value

See also

All Component Classes

Technical Reference

  • No labels