uri_builder::set_port Method

Set the port component of the URI.

uri_builder & set_port(
   int port
);

Parameters

  • port
    Port as an integer.

Return Value

A reference to this uri_builder to support chaining.

Requirements

Header: uri_builder.h

Namespace: web::http

See Also

Reference

uri_builder Class