Tm1ClientBuilder
using Skipcheck.Tm1.Client; Builds a Tm1Client: the same settings as Tm1ClientBuilder, which
it delegates to.
Members
BaseUrl | The service root, such as http://localhost:8010/api/v1/. |
Address | The server's address, such as http://tm1:8010. |
Dialect | The kind of deployment. |
BasicAuth | Basic authentication. |
Authenticator | What supplies the credentials for each login. |
Impersonate | The TM1 user to act as. |
SessionContext | The session context sent to TM1. |
Timeouts | The timeouts. |
ErrorClassifier | The classifier for error responses. |
HttpHandler | The HTTP handler to send through. |
CheckCapabilities | Whether requests check the server's $metadata for what they need. |
Build | The client. |
BaseUrl
Tm1ClientBuilder BaseUrl(string baseUrl)The service root, such as http://localhost:8010/api/v1/: see
Tm1SessionBuilder.BaseUrl.
Address
Tm1ClientBuilder Address(string address)The server's address, such as http://tm1:8010: see
Tm1SessionBuilder.Address.
Dialect
Tm1ClientBuilder Dialect(Tm1Dialect dialect)The kind of deployment: see Tm1SessionBuilder.Dialect.
BasicAuth
Tm1ClientBuilder BasicAuth(string user, string? password)Basic authentication: see Tm1SessionBuilder.BasicAuth.
Authenticator
Tm1ClientBuilder Authenticator(Tm1Authenticator authenticator)What supplies the credentials for each login: see
Tm1SessionBuilder.Authenticator.
Impersonate
Tm1ClientBuilder Impersonate(string user)The TM1 user to act as: see Tm1SessionBuilder.Impersonate.
SessionContext
Tm1ClientBuilder SessionContext(string sessionContext)The session context sent to TM1: see
Tm1SessionBuilder.SessionContext.
Timeouts
Tm1ClientBuilder Timeouts(Tm1Timeouts timeouts)The timeouts: see Tm1SessionBuilder.Timeouts.
ErrorClassifier
Tm1ClientBuilder ErrorClassifier(Tm1ErrorClassifier classifier)The classifier for error responses: see
Tm1SessionBuilder.ErrorClassifier.
HttpHandler
Tm1ClientBuilder HttpHandler(System.Net.Http.HttpMessageHandler handler)The HTTP handler to send through: see Tm1SessionBuilder.HttpHandler,
which says what a handler needs for names outside ASCII.
CheckCapabilities
Tm1ClientBuilder CheckCapabilities(bool check)Whether requests check the server's $metadata for what they need: see
Tm1SessionBuilder.CheckCapabilities.
Build
Tm1Client Build()The client. Nothing is sent to TM1 until the first request.