Skip to content

Commit

Permalink
Clarify HeaderFunc argument is mutable
Browse files Browse the repository at this point in the history
  • Loading branch information
BinaryFissionGames committed Sep 12, 2024
1 parent 1956339 commit c35a53d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/types/startsettings.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ type StartSettings struct {

// Optional function that can be used to modify the HTTP headers
// before each HTTP request.
// Can modify and return the argument or return the argument without modifying.
HeaderFunc func(http.Header) http.Header

// Optional TLS config for HTTP connection.
Expand Down

0 comments on commit c35a53d

Please sign in to comment.