Kinetica   C#   API  Version 7.2.3.1
IHttpTransport.cs
Go to the documentation of this file.
1 using System.Threading;
2 using System.Threading.Tasks;
3 
4 namespace kinetica;
5 
10  internal interface IHttpTransport
11  {
21  byte[] Post(string url, byte[] body, string contentType, string? authorization, CancellationToken cancellationToken);
22 
34  Task<byte[]> PostAsync(string url, byte[] body, string contentType, string? authorization, CancellationToken cancellationToken);
35  }
Task< byte[]> PostAsync(string url, byte[] body, string contentType, string? authorization, CancellationToken cancellationToken)
Asynchronous POST.
Abstraction over the raw HTTP POST layer.
byte [] Post(string url, byte[] body, string contentType, string? authorization, CancellationToken cancellationToken)
Synchronous POST.