Many Web APIs are overloaded to take different types of arguments or to skip
web-sys contains multiple bindings for these functions
that each specialize to a particular overload and set of argument types.
For example, the
fetch API can be given a URL string, or a
Request object, and it might also optionally be given a
object. Therefore, we end up with these
web-sys functions that all bind to the
Note that different overloads can use different interfaces, and therefore can require different sets of cargo features to be enabled.