Client constructor

Client(
  1. String host, {
  2. dynamic securityContext,
  3. Duration? streamingConnectionTimeout,
  4. Duration? connectionTimeout,
  5. dynamic onFailedCall(
    1. MethodCallContext,
    2. Object,
    3. StackTrace
    )?,
  6. dynamic onSucceededCall(
    1. MethodCallContext
    )?,
  7. bool? disconnectStreamsOnLostInternetConnection,
  8. Client? httpClientOverride,
})

Implementation

Client(
  String host, {
  dynamic securityContext,
  Duration? streamingConnectionTimeout,
  Duration? connectionTimeout,
  Function(_isc.MethodCallContext, Object, StackTrace)? onFailedCall,
  Function(_isc.MethodCallContext)? onSucceededCall,
  bool? disconnectStreamsOnLostInternetConnection,
  _i85jenna.Client? httpClientOverride,
}) : super(
       host,
       _il2as5qe.Protocol(),
       securityContext: securityContext,
       streamingConnectionTimeout: streamingConnectionTimeout,
       connectionTimeout: connectionTimeout,
       onFailedCall: onFailedCall,
       onSucceededCall: onSucceededCall,
       disconnectStreamsOnLostInternetConnection:
           disconnectStreamsOnLostInternetConnection,
       httpClientOverride: httpClientOverride,
     ) {
  emailIdp = EndpointEmailIdp(this);
  jwtRefresh = EndpointJwtRefresh(this);
  analytics = EndpointAnalytics(this);
  project = EndpointProject(this);
  sdk = EndpointSdk(this);
  modules = Modules(this);
}