parse_url: Convert a url into core components

Description Usage Arguments

View source: R/loadtest.R

Description

This code takes a url and breaks it into several components

protocol

Either http or https

domain

The base domain, such as https://www.t-mobile.com

path

The path after the base domain such as /mail/account=1

port

The port to use, either 80 for HTTP, 443 for HTTPS, or anything if explicitly set like :8000 after a domain

Usage

1

Arguments

url

a string containing a url


tmobile/loadtest documentation built on April 13, 2020, 2:21 a.m.