OdinClient.Create
public static OdinClient Create(Uri server)
public static OdinClient Create(Uri server, string accessKey)
public static OdinClient Create(Uri server, string accessKey, NativeBindings.OdinConnectionPoolSettings settings)
Creates a new initialized instance for ODIN ffi C# Wrapper
Info
Will set a random accesskey; Can fail on initialize!
Parameters
Name | Type | Description |
---|---|---|
server | Uri | Odin Server/Gateway |
accessKey | String | Odin access key |
settings | OdinConnectionPoolSettings | Custom settings |
Returns
Type | Description |
---|---|
OdinClient | OdinClient wrapper |
Variants
Create(server)
public static OdinClient Create(Uri server)
Creates a new initialized instance for ODIN ffi C# Wrapper
Warning
Will set a random accesskey; Can fail on initialize!
Parameters
Name | Type | Description |
---|---|---|
server | Uri | Odin Server/Gateway |
Returns
Type | Description |
---|---|
OdinClient | OdinClient wrapper |
Create(server, accessKey)
public static OdinClient Create(Uri server, string accessKey)
Creates a new initialized instance for ODIN ffi C# Wrapper
Warning
Can fail on initialize!
Parameters
Name | Type | Description |
---|---|---|
server | Uri | Odin Server |
accessKey | String | Odin access key |
Returns
Type | Description |
---|---|
OdinClient | OdinClient wrapper |
Create(server, accessKey, settings)
public static OdinClient Create(Uri server, string accessKey, NativeBindings.OdinConnectionPoolSettings settings)
Creates a new initialized instance for ODIN ffi C# Wrapper
Warning
Can fail on initialize!
Parameters
Name | Type | Description |
---|---|---|
server | Uri | Odin Server |
accessKey | String | Odin access key |
settings | OdinConnectionPoolSettings | Custom settings |
Returns
Type | Description |
---|---|
OdinClient | OdinClient wrapper |