Skip to content

Commit

Permalink
Editting request documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
R0DR160HM authored Apr 15, 2024
1 parent a8ad23d commit 229132e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gleam/http/request.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ pub fn set_scheme(req: Request(body), scheme: Scheme) -> Request(body) {
Request(..req, scheme: scheme)
}

/// Set the method of the request.
/// Set the host of the request.
///
pub fn set_host(req: Request(body), host: String) -> Request(body) {
Request(..req, host: host)
Expand Down

0 comments on commit 229132e

Please sign in to comment.