C# Class InfluxDB.LineProtocol.Client.LineProtocolClient

Mostra file Open project: influxdata/influxdb-csharp Class Usage Examples

Public Methods

Method Description
LineProtocolClient ( Uri serverBaseAddress, string database, string username = null, string password = null ) : InfluxDB.LineProtocol.Payload
WriteAsync ( LineProtocolPayload payload, CancellationToken cancellationToken = default(CancellationToken) ) : Task

Method Details

LineProtocolClient() public method

public LineProtocolClient ( Uri serverBaseAddress, string database, string username = null, string password = null ) : InfluxDB.LineProtocol.Payload
serverBaseAddress System.Uri
database string
username string
password string
return InfluxDB.LineProtocol.Payload

WriteAsync() public method

public WriteAsync ( LineProtocolPayload payload, CancellationToken cancellationToken = default(CancellationToken) ) : Task
payload InfluxDB.LineProtocol.Payload.LineProtocolPayload
cancellationToken System.Threading.CancellationToken
return Task