ConfigBuilder class
Contains logic to build a Config in the form of IConfigBuilder components and extensions methods.
Public Members
| name | description |
|---|---|
| static Build(…) | Returns the configured Config by applying the entire IConfigBuilder chain. |
| static Create() | Begins configuration of a Config with fluent api. |
| static WithBasicAuth(…) | |
| static WithJwtAuth(…) | |
| static WithRest(…) | |
| static WithRpc(…) | |
| class Basic | Basic options, such as the remote, database and namespace of the Config |
| class BasicAuth | Configures the Config with User and Password authentication |
| class JwtAuth | Configures the Config with Json Web Token Authentication |
| class UseRest | Configures the Config to use the REST endpoint |
| class UseRpc | Configures the Config to use the rpc endpoint |
See Also
- namespace SurrealDB.Configuration
- ConfigBuilder.cs