obj
Extension methods to enable support for remoting in ProgramComponent.
Static member | Description |
Full Usage:
ClientRemotingExtensions.AddBoleroRemoting(services, configureHttpClient, ?configureSerialization)
Parameters:
IServiceCollection
-
The DI service collection.
configureHttpClient : HttpClient -> unit
-
Callback that configures the HttpClient.
?configureSerialization : JsonSerializerOptions -> unit
-
Callback that configures the JSON serialization for remote arguments and return values.
Returns: IHttpClientBuilder
The HttpClient builder for remote calls.
|
|
Full Usage:
ClientRemotingExtensions.AddBoleroRemoting(services, env, ?configureSerialization)
Parameters:
IServiceCollection
-
The DI service collection.
env : IWebAssemblyHostEnvironment
-
The WebAssembly host environment.
?configureSerialization : JsonSerializerOptions -> unit
-
Callback that configures the JSON serialization for remote arguments and return values.
Returns: IHttpClientBuilder
The HttpClient builder for remote calls.
|
|
Full Usage:
ClientRemotingExtensions.AddBoleroRemoting(services, configureHttpClient, ?configureSerialization)
Parameters:
IServiceCollection
-
The DI service collection.
configureHttpClient : HttpClient -> unit
-
Callback that configures the HttpClient.
?configureSerialization : JsonSerializerOptions -> unit
-
Callback that configures the JSON serialization for remote arguments and return values.
Returns: IHttpClientBuilder
The HttpClient builder for remote calls.
|
|
Full Usage:
ClientRemotingExtensions.AddBoleroRemoting(services, env, ?configureSerialization)
Parameters:
IServiceCollection
-
The DI service collection.
env : IWebAssemblyHostEnvironment
-
The WebAssembly host environment.
?configureSerialization : JsonSerializerOptions -> unit
-
Callback that configures the JSON serialization for remote arguments and return values.
Returns: IHttpClientBuilder
The HttpClient builder for remote calls.
|
|