NBoomackClient
Show / Hide Table of Contents

Class BoomackClientBuilderExtensions

Inheritance
object
BoomackClientBuilderExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Boomack.Client
Assembly: NBoomackClient.dll
Syntax
public static class BoomackClientBuilderExtensions

Methods

BuildClient(IBoomackClientBuilder)

Declaration
public static BoomackClient BuildClient(this IBoomackClientBuilder builder)
Parameters
Type Name Description
IBoomackClientBuilder builder
Returns
Type Description
BoomackClient

For(IBoomackClientBuilder, string, ushort)

Declaration
public static IBoomackClientBuilder For(this IBoomackClientBuilder builder, string host, ushort port)
Parameters
Type Name Description
IBoomackClientBuilder builder
string host
ushort port
Returns
Type Description
IBoomackClientBuilder

For(IBoomackClientBuilder, string)

Declaration
public static IBoomackClientBuilder For(this IBoomackClientBuilder builder, string serverUrl)
Parameters
Type Name Description
IBoomackClientBuilder builder
string serverUrl
Returns
Type Description
IBoomackClientBuilder

UseConfigFile(IBoomackClientBuilder, string, bool)

Load configuration from JSON or YAML file.

Declaration
public static IBoomackClientBuilder UseConfigFile(this IBoomackClientBuilder builder, string path, bool required = true)
Parameters
Type Name Description
IBoomackClientBuilder builder
string path
bool required
Returns
Type Description
IBoomackClientBuilder

UseDefaultConfigFiles(IBoomackClientBuilder)

Declaration
public static IBoomackClientBuilder UseDefaultConfigFiles(this IBoomackClientBuilder builder)
Parameters
Type Name Description
IBoomackClientBuilder builder
Returns
Type Description
IBoomackClientBuilder

UseEnvironmentVariables(IBoomackClientBuilder)

Declaration
public static IBoomackClientBuilder UseEnvironmentVariables(this IBoomackClientBuilder builder)
Parameters
Type Name Description
IBoomackClientBuilder builder
Returns
Type Description
IBoomackClientBuilder

WithRequestTimeout(IBoomackClientBuilder, double)

Declaration
public static IBoomackClientBuilder WithRequestTimeout(this IBoomackClientBuilder builder, double timeoutMs)
Parameters
Type Name Description
IBoomackClientBuilder builder
double timeoutMs
Returns
Type Description
IBoomackClientBuilder

WithResponseFormat(IBoomackClientBuilder, string)

Declaration
public static IBoomackClientBuilder WithResponseFormat(this IBoomackClientBuilder builder, string mimeType)
Parameters
Type Name Description
IBoomackClientBuilder builder
string mimeType
Returns
Type Description
IBoomackClientBuilder

WithTypeMapping(IBoomackClientBuilder, IDictionary<string, string>)

Declaration
public static IBoomackClientBuilder WithTypeMapping(this IBoomackClientBuilder builder, IDictionary<string, string> typeMapping)
Parameters
Type Name Description
IBoomackClientBuilder builder
IDictionary<string, string> typeMapping
Returns
Type Description
IBoomackClientBuilder
In This Article
Back to top
Boomack Homepage