Class GlowRestClient
public class GlowRestClient : IGlowRestClient, IGlowClient, IDisposable
- Inheritance
-
objectGlowRestClient
- Implements
Constructors
GlowRestClient(IOptions<GlowRestClientOptions>?)
public GlowRestClient(IOptions<GlowRestClientOptions>? options)
Parameters
options
IOptions<GlowRestClientOptions>
Properties
IsDisposed
public bool IsDisposed { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
FromBaseUri(string)
Create a new Glow Client from a uri.
Note that BaseUri
is the entry point uri to your cloud and should not specify a service name, eg should be https://services.foompany.com and NOT https://services.foompany.com/MyService/
public static GlowRestClient FromBaseUri(string BaseUri)
Parameters
BaseUri
string
Returns
FromBaseUri(string, GlowRestClientOptions)
public static GlowRestClient FromBaseUri(string BaseUri, GlowRestClientOptions options)
Parameters
BaseUri
stringoptions
GlowRestClientOptions
Returns
FromHttpClient(HttpClient)
public static GlowRestClient FromHttpClient(HttpClient httpClient)
Parameters
httpClient
HttpClient
Returns
FromHttpClient(HttpClient, GlowRestClientOptions?)
public static GlowRestClient FromHttpClient(HttpClient httpClient, GlowRestClientOptions? options)
Parameters
httpClient
HttpClientoptions
GlowRestClientOptions
Returns
__Dispose()
protected virtual void __Dispose()