Skip to content

Commit

Permalink
updated fhttp dependency;
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdanfinn committed Dec 3, 2024
1 parent b39f435 commit 5b0a010
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
14 changes: 8 additions & 6 deletions cffi_src/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,14 @@ type PriorityParam struct {
}

type Cookie struct {
Expires Timestamp `json:"expires"`
Domain string `json:"domain"`
Name string `json:"name"`
Path string `json:"path"`
Value string `json:"value"`
MaxAge int `json:"maxAge"`
Expires Timestamp `json:"expires"`
Domain string `json:"domain"`
Name string `json:"name"`
Path string `json:"path"`
Value string `json:"value"`
MaxAge int `json:"maxAge"`
Secure bool `json:"secure"`
HttpOnly bool `json:"httpOnly"`
}

type Timestamp struct {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/bogdanfinn/tls-client
go 1.22.0

require (
github.com/bogdanfinn/fhttp v0.5.29
github.com/bogdanfinn/fhttp v0.5.30
github.com/bogdanfinn/utls v1.6.2
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.9.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github.com/andybalholm/brotli v1.1.1 h1:PR2pgnyFznKEugtsUo0xLdDop5SKXd5Qf5ysW+7XdTA=
github.com/andybalholm/brotli v1.1.1/go.mod h1:05ib4cKhjx3OQYUY22hTVd34Bc8upXjOLL2rKwwZBoA=
github.com/bogdanfinn/fhttp v0.5.29 h1:wSvVLaVuqUeW+PLL+rBofOUr7nQ/iKj1HDrqVpw/WdE=
github.com/bogdanfinn/fhttp v0.5.29/go.mod h1:bdo7riUy+lXzfGAfGX6dhwRIqlKRSxraI+4eo98lFoA=
github.com/bogdanfinn/fhttp v0.5.30 h1:oo3YVpCU/aq3x/gy+gyFnV0VsnuEd2w+O/muLUGUINA=
github.com/bogdanfinn/fhttp v0.5.30/go.mod h1:bdo7riUy+lXzfGAfGX6dhwRIqlKRSxraI+4eo98lFoA=
github.com/bogdanfinn/utls v1.6.2 h1:82QYt8sjweKzW71D8/6DTAebZleRyJA+l56bplMM93M=
github.com/bogdanfinn/utls v1.6.2/go.mod h1:czcHxHGsc1q9NjgWSeSinQZzn6MR76zUmGVIGanSXO0=
github.com/cloudflare/circl v1.5.0 h1:hxIWksrX6XN5a1L2TI/h53AGPhNHoUBo+TD1ms9+pys=
Expand Down

0 comments on commit 5b0a010

Please sign in to comment.