HttpSysBinding

Overview

Collections of instances of this class are used by HttpSysServerChannel and HttpSysSuperHttpServerChannel server channels to store hostname and port binding information.

Note: After the corresponding server channel is opened, you can still change any available properties of HttpSysBinding instances associated with it, but these changes will not take effect until the server channel itself is reopened.

Location

 

constructor

Creates a new instance of HttpSysBinding and can set its Host, Port and UseSSL properties depending on the overloaded method used.

 

constructor

 

HttpSysBinding()

 

Sub New()

constructor (String, Int32)

 

constructor(host: String; port: Int32)

 

HttpSysBinding(String host, Int32 port)

 

Sub New(host As String, port As Int32)

Parameters:

  • host:
  • port:

constructor (String, Int32, Boolean)

 

constructor(host: String; port: Int32; useSSL: Boolean)

 

HttpSysBinding(String host, Int32 port, Boolean useSSL)

 

Sub New(host As String, port As Int32, useSSL As Boolean)

Parameters:

  • host:
  • port:
  • useSSL:

Host

The hostname HttpSys the server channel should listen on. The default value is '*', which means that the server channel receives all requests, regardless of hostname.

 

property Host: String read write;

 

String Host { get; set; }

 

Property Host() As String

Port

The port HttpSys the server channel should listen on. The default value is 8099.

 

property Port: Int32 read write;

 

Int32 Port { get; set; }

 

Property Port() As Int32

ToString

Creates a HttpSysBinding string representation that can be used by the HttpSys... server channel to bind to a specified hostname and port.

For example: For the HttpSysBinding instance with Host set to 'TestDomain', Port set to 7099 and UseSSL set to true ToString, https://TestDomain:7099/ will be returned.

 

method ToString: String

 

String ToString()

 

Function ToString() As String

UseSSL

Specifies which requests prefix (http:// if UseSSL is set to false or https:// if UseSSL is set to true) the HttpSys server channel should listen on. The default value is false.

Note: Enabling this property only changes the binding prefix. It doesn't actually enable or disable SSL at the server channel's level. Please refer to the Remoting SDK FAQ to find out how SSL can be enabled for HttpSys... server channels.

 

property UseSSL: Boolean read write;

 

Boolean UseSSL { get; set; }

 

Property UseSSL() As Boolean

 

Host

The hostname HttpSys the server channel should listen on. The default value is '*', which means that the server channel receives all requests, regardless of hostname.

 

property Host: String read write;

 

String Host { get; set; }

 

Property Host() As String

Port

The port HttpSys the server channel should listen on. The default value is 8099.

 

property Port: Int32 read write;

 

Int32 Port { get; set; }

 

Property Port() As Int32

UseSSL

Specifies which requests prefix (http:// if UseSSL is set to false or https:// if UseSSL is set to true) the HttpSys server channel should listen on. The default value is false.

Note: Enabling this property only changes the binding prefix. It doesn't actually enable or disable SSL at the server channel's level. Please refer to the Remoting SDK FAQ to find out how SSL can be enabled for HttpSys... server channels.

 

property UseSSL: Boolean read write;

 

Boolean UseSSL { get; set; }

 

Property UseSSL() As Boolean

 

constructor

Creates a new instance of HttpSysBinding and can set its Host, Port and UseSSL properties depending on the overloaded method used.

 

constructor

 

HttpSysBinding()

 

Sub New()

constructor (String, Int32)

 

constructor(host: String; port: Int32)

 

HttpSysBinding(String host, Int32 port)

 

Sub New(host As String, port As Int32)

Parameters:

  • host:
  • port:

constructor (String, Int32, Boolean)

 

constructor(host: String; port: Int32; useSSL: Boolean)

 

HttpSysBinding(String host, Int32 port, Boolean useSSL)

 

Sub New(host As String, port As Int32, useSSL As Boolean)

Parameters:

  • host:
  • port:
  • useSSL:

ToString

Creates a HttpSysBinding string representation that can be used by the HttpSys... server channel to bind to a specified hostname and port.

For example: For the HttpSysBinding instance with Host set to 'TestDomain', Port set to 7099 and UseSSL set to true ToString, https://TestDomain:7099/ will be returned.

 

method ToString: String

 

String ToString()

 

Function ToString() As String