The ServiceStack services can be hosted in an HTTP and Message Queue context, hence there are two different processing chains, which will be covered in the following two sections.
We will also cover request and response filters and annotations later in the chapter, which allow you to apply late-bound changes to your requests and responses.
The following contexts and their base classes are all derived from
ServiceStack.ServiceStackHost; they can be used for your HTTP hosted service:
ServiceStack.AppHostListenerBasefor single-threaded processing