* Sets the protocol for the URL pattern. * * @param {string} protocol - The protocol to set. * @returns {UrlPattern} - Returns the updated instance of the URL pattern for chaining.
(protocol)
| 29 | * @returns {UrlPattern} - Returns the updated instance of the URL pattern for chaining. |
| 30 | */ |
| 31 | protocol(protocol) { |
| 32 | this.#map.set('protocol', protocol) |
| 33 | return this |
| 34 | } |
| 35 | |
| 36 | /** |
| 37 | * Sets the hostname for the URL pattern. |
no test coverage detected