Constructor for connection to the Endeca MDEX Engine over HTTP.
Namespace: Endeca.NavigationAssembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.2.0.0 (0.0.0.0)
Syntax
C# |
---|
public AuthHttpENEConnection( string hostname, string port ) |
Visual Basic |
---|
Public Sub New ( _ hostname As String, _ port As String _ ) |
Visual C++ |
---|
public: AuthHttpENEConnection( String^ hostname, String^ 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..::..String
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.