Requestclass, read the Requests documentation.
craft serve) is the
wsgi.pyfile in the root of the directory. In this directory, all Service Providers are registered. This means that objects are loaded into the container first that typically need to be used by any or all Service Providers later. All Service Providers are registered regardless on whether they require the server to be running (more on this later).
wsgi.pyfile but we have only hit this file, created the container, and registered our Service Providers.
WSGIProviderslist which are providers where
wsgi=True(which they are by default). We will use this list of a smaller amount of providers in order to speed up the application since now we won't need to run through all providers and see which ones need to run.
wsgi=Falseand boot those providers. These boot methods may contain things like Manager classes creating drivers which require all drivers to be registered first but doesn't require the WSGI server to be running.
# Framework Providers. Because the request needs to hit each of these in succession, they should be in order although you may put any amount of any kind of Service Providers in between them.
Requestparameter into the constructor like so: