Skip to content

Commit

Permalink
rename SetBodyStr to SetBodyString(#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
imroc committed Dec 17, 2024
1 parent b639f8d commit 551efe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion response.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func (r *Response) SetBody(body []byte) {
}

// Set response body with string content
func (r *Response) SetBodyStr(body string) {
func (r *Response) SetBodyString(body string) {
r.body = []byte(body)
}

Expand Down

0 comments on commit 551efe5

Please sign in to comment.