Using Julia Standard Web Packages
In this chapter, we will examine how the building blocks of the web, such as TCP-IP, WebSockets, the HTTP protocol, and more, are implemented in Julia’s standard library, and we will show you how to build some functionality with these packages. Finally, we will apply what we have learned while working with JSON data.
Nearly all of the Julia web stack rests on the foundation laid by the Sockets package documented at https://docs.julialang.org/en/v1/stdlib/Sockets/, which we will use extensively in this chapter.
Building upon this, the Julia web stack lives at the JuliaWeb repo (https://github.com/JuliaWeb/), which contains a collection of packages for working with Uniform Resource Identifiers (URIs), Transport Layer Security (TLS), Multipurpose Internet Mail Extensions (MIME), and more, all the way up to the HTTP package. Gathering nearly everything needed in the HTTP client and server functionality, we will use this package a lot in this...