Constructor for connection to the Endeca MDEX Engine over HTTP.
Namespace: Endeca.NavigationAssembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.2.0.0 (6.2.2.8614)
Syntax
C# |
---|
public AuthHttpENEConnection( string hostname, int port ) |
Visual Basic |
---|
Public Sub New ( _ hostname As String, _ port As Integer _ ) |
Visual C++ |
---|
public: AuthHttpENEConnection( String^ hostname, int port ) |
Parameters
- hostname
- Type: System..::..String
Hostname or IP address of the MDEX Engine. Example: 127.0.0.1 or engine.endeca.com.
- port
- Type: System..::..Int32
Port of the MDEX Engine. Example: 5001.
Remarks
A user must be authenticated with Login(IAuthCredentialRequestHandler) before
the Query(ENEQuery) method is called, otherwise
an ENEAuthenticationException will be thrown.