Class FluxClientFactory
The Factory that create a instance of a Flux client.
Inheritance
System.Object
FluxClientFactory
Namespace: InfluxDB.Client.Flux
Assembly: InfluxDB.Client.Flux.dll
Syntax
public class FluxClientFactory : object
Methods
Create(FluxConnectionOptions)
Create a instance of the Flux client.
Declaration
public static FluxClient Create(FluxConnectionOptions options)
Parameters
Type | Name | Description |
---|---|---|
FluxConnectionOptions | options | the connection configuration |
Returns
Type | Description |
---|---|
FluxClient |
Remarks
Deprecated - please use use object initializer FluxClient(FluxConnectionOptions)
Create(String)
Create a instance of the Flux client.
Declaration
public static FluxClient Create(string connectionString)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionString | the connectionString to connect to InfluxDB |
Returns
Type | Description |
---|---|
FluxClient | client |
Remarks
Deprecated - please use use object initializer FluxClient(String)