Show / Hide Table of Contents

Class OpenDIHTTPConnection

Open DI representation of a WMHTTPConnection.

Inheritance
object
OpenDIBase
OpenDIAsset
OpenDIHTTPConnection
Inherited Members
OpenDIAsset.DIDirectory
OpenDIAsset.DIDataSource
OpenDIAsset.DIDataReader
OpenDIAsset.DIDataWriter
OpenDIAsset.parent
OpenDIAsset.fullPathName
OpenDIAsset.ownerType
OpenDIAsset.ownerID
OpenDIAsset.Version
OpenDIAsset.VersionName
OpenDIAsset.Status
OpenDIAsset.imageURL
OpenDIAsset.ToDTO<T>()
OpenDIAsset.Create(WMAssetBase)
OpenDIBase.openDIVersion
OpenDIBase.FQNSeparator
OpenDIBase.id
OpenDIBase.name
OpenDIBase.summary
OpenDIBase.documentation
OpenDIBase.documentationMIMEType
OpenDIBase.properties
OpenDIBase.GetWMType(string)
OpenDIBase.GetOpenDIType(Type)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Quantellia.WMServer.OpenDI
Assembly: WMServer.dll
Syntax
public class OpenDIHTTPConnection : OpenDIAsset

Constructors

OpenDIHTTPConnection()

Default constructor

Declaration
public OpenDIHTTPConnection()

OpenDIHTTPConnection(WMHTTPConnection)

Constructor that initializes a new instance with the data from a WMModelBase object.

Declaration
public OpenDIHTTPConnection(WMHTTPConnection asset)
Parameters
Type Name Description
WMHTTPConnection asset

The asset with which to initialize this OpenDIModel

Properties

AuthenticationData

The authentication token, username/password, header name, etc... for this resource. Is AES-256 encrypted on the database. Is specific to the given AuthenticationType.

Declaration
public Dictionary<string, string> AuthenticationData { get; set; }
Property Value
Type Description
Dictionary<string, string>

AuthenticationType

How this connection is expected to be authenticated.

Declaration
public string AuthenticationType { get; set; }
Property Value
Type Description
string

Endpoint

The base URL to form the connection with. Any trailing / will be trimmed. Any WMHTTPRequest using this connection can optionally specify additional routes on top of this base URL.

Declaration
public string Endpoint { get; set; }
Property Value
Type Description
string

Headers

Required headers and values for this resource. Can be overwritten by any WMHTTPRequest using this connection.

Declaration
public Dictionary<string, string> Headers { get; set; }
Property Value
Type Description
Dictionary<string, string>

Methods

ToDTO()

Create a new WMHTTPConnectionDTO object that contains the properties of this OpenDIHTTPConnection

Declaration
public WMHTTPConnectionDTO ToDTO()
Returns
Type Description
WMHTTPConnectionDTO

A WMHTTPConnectionDTO object that contains the properties of this OpenDIHTTPConnection

In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 1/15/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE