Transcript
![Page 1: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/1.jpg)
HTTPlugTobias Nyholm @tobiasnyholm
![Page 2: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/2.jpg)
@tobiasnyholm
What is HTTPlug?
![Page 3: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/3.jpg)
@tobiasnyholmAbstraction over libraries sending HTTP messages
![Page 4: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/4.jpg)
@tobiasnyholm
But why?
![Page 5: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/5.jpg)
@tobiasnyholm
But why?
![Page 6: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/6.jpg)
@tobiasnyholm
But why?
![Page 7: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/7.jpg)
@tobiasnyholm
But why?
![Page 8: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/8.jpg)
@tobiasnyholm
![Page 9: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/9.jpg)
@tobiasnyholm
That’s why!
![Page 10: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/10.jpg)
@tobiasnyholm
[Image of the interface]
![Page 11: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/11.jpg)
@tobiasnyholm
[Show code]
![Page 12: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/12.jpg)
@tobiasnyholm
![Page 13: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/13.jpg)
@tobiasnyholm
That’s why
![Page 14: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/14.jpg)
@tobiasnyholm
![Page 15: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/15.jpg)
@tobiasnyholm
![Page 16: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/16.jpg)
@tobiasnyholm
How to consume it
![Page 17: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/17.jpg)
@tobiasnyholm
PSR-7
![Page 18: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/18.jpg)
@tobiasnyholm
PSR-17
![Page 19: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/19.jpg)
@tobiasnyholm
PSR-18 ??
![Page 20: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/20.jpg)
@tobiasnyholm
![Page 21: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/21.jpg)
@tobiasnyholm
![Page 22: HTTPlug - nyholm.tech · lø 11 12 13 14 15 16 17 18 19 2ø 21 22 23 24 25 26 27 28 29 3ø Bar; namespace GuzzleHttp\Psr7\Request; - use Http\Client\HttpClient; use Http\Discovery](https://reader036.vdocuments.us/reader036/viewer/2022062919/5ee1b434ad6a402d666c7c61/html5/thumbnails/22.jpg)
@tobiasnyholm