Set the port component and mark the URI as having an authority.

Synopsis

Declared in <folly/Uri.h>

void
setPort(uint16_t port);

Parameters

Name

Description

port

The port number to set.

Created with MrDocs