Skip to content

Commit

Permalink
add: GetHttpsClient() & GetHttpClient()
Browse files Browse the repository at this point in the history
  • Loading branch information
ianchen0119 committed Jan 3, 2024
1 parent e15a4ff commit c59d259
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ var (
}
)

func GetHttpsClient() *http.Client {
return innerHTTP2CleartextClient
}
func GetHttpClient() *http.Client {
return innerHTTP2Client
}

type Configuration interface {
BasePath() string
Host() string
Expand Down

0 comments on commit c59d259

Please sign in to comment.