mount method

  1. @override
ApiClient mount(
  1. String prefix, [
  2. ApiCodec? codec
])
override

Implementation

@override
ApiClient mount(String prefix, [ApiCodec? codec]) {
  return HttpApiClient(
    domain: domain,
    path:
        '${path.endsWith('/') ? path : '$path/'}${HttpApiRequest.segment(prefix)}',
    providers: providers,
    codec: codec ?? this.codec,
  );
}