Skip to content

Commit

Permalink
Added client factory
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoboss committed Mar 31, 2024
1 parent 19e7770 commit a32fb95
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/kiota_http/lib/kiota_http.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ import 'package:kiota_abstractions/kiota_abstractions.dart';
import 'package:uuid/uuid.dart';

part 'src/http_client_request_adapter.dart';
part 'src/kiota_client_factory.dart';
9 changes: 9 additions & 0 deletions packages/kiota_http/lib/src/kiota_client_factory.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
part of '../kiota_http.dart';

class KiotaClientFactory {
KiotaClientFactory._();

static http.Client createClient() {
return http.Client();
}
}

0 comments on commit a32fb95

Please sign in to comment.