Lines Matching refs:example
60 entity body fails due to needing to rewind the stream (for example, resulting
235 For example, let's say we wanted to call a specific function each time the last
318 $request = new GuzzleHttp\Psr7\Request('GET', 'http://example.com');
598 - network-path references, e.g. `//example.com/path`
690 to [RFC 3986 Section 5](https://tools.ietf.org/html/rfc3986#section-5). This is for example also wh…
720 $base = new Uri('http://example.com/a/b/');
721 echo UriResolver::relativize($base, new Uri('http://example.com/a/b/c')); // prints 'c'.
722 echo UriResolver::relativize($base, new Uri('http://example.com/a/x/y')); // prints '../x/y'.
723 echo UriResolver::relativize($base, new Uri('http://example.com/a/b/?q')); // prints '?q'.
724 echo UriResolver::relativize($base, new Uri('http://example.org/a/b/')); // prints '//example.org…
748 Example: `http://example.org/a%c2%b1b` → `http://example.org/a%C2%B1b`
757 Example: `http://example.org/%7Eusern%61me/` → `http://example.org/~username/`
763 Example: `http://example.org` → `http://example.org/`
777 Example: `http://example.org:80/` → `http://example.org/`
784 Example: `http://example.org/../a/b/../c/./d.html` → `http://example.org/a/c/d.html`
792 Example: `http://example.org//foo///bar.html` → `http://example.org/foo/bar.html`