Skip to content

Commit

Permalink
fix: comment format
Browse files Browse the repository at this point in the history
  • Loading branch information
lihe07 committed Oct 31, 2024
1 parent 2d40891 commit f20f443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hijack.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ func (ctx *HijackResponse) SetHeader(pairs ...string) *HijackResponse {
return ctx
}

// Append key-value pairs to the end of the response headers.
// AddHeader appends key-value pairs to the end of the response headers.
// Duplicate keys will be preserved.
func (ctx *HijackResponse) AddHeader(pairs ...string) *HijackResponse {
for i := 0; i < len(pairs); i += 2 {
Expand Down

0 comments on commit f20f443

Please sign in to comment.