method

host!

host!(name)
public

Set the host name to use in the next request.

  session.host! "www.example.com"