Skip to content

Commit

Permalink
feat: only export Client from http
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Oct 12, 2024
1 parent bb82711 commit e09675a
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions http/lib/http.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import 'dart:typed_data';

import 'http_memory.dart';

export 'package:http/http.dart' show Client;
export 'package:tekartik_http/src/http.dart';
export 'package:tekartik_http/src/http_constant.dart';

export 'http_client.dart';
Expand Down
2 changes: 1 addition & 1 deletion http/lib/http_client.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:tekartik_http/src/http_client.dart';

export 'package:http/http.dart';
export 'package:http/http.dart' show Client;
export 'package:tekartik_http/http_memory.dart' show httpClientFactoryMemory;
export 'package:tekartik_http/src/http_client.dart'
show
Expand Down
1 change: 0 additions & 1 deletion http/lib/http_server.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export 'package:http/http.dart';
export 'package:tekartik_http/src/http_server.dart'
show
HttpServerFactory,
Expand Down
1 change: 1 addition & 0 deletions http/lib/src/http_client_memory.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import 'dart:convert';

import 'dart:typed_data';

import 'package:http/http.dart';
import 'package:tekartik_http/http_client.dart';
import 'package:tekartik_http/src/http_common.dart';
import 'package:tekartik_http/src/http_server.dart';
Expand Down
1 change: 1 addition & 0 deletions http/test/http_utils_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import 'dart:convert';

import 'package:http/http.dart';
import 'package:tekartik_http/http.dart';
import 'package:tekartik_http/http_utils.dart';
import 'package:test/test.dart';
Expand Down

0 comments on commit e09675a

Please sign in to comment.