MiddlewareDataSource
internal class MiddlewareDataSource(clientService: ClientService, databaseService: DatabaseService, serverService: ServerService, mapperService: MapperService)
MiddlewareDataSource is responsible for configuring the middleware.
Constructors
Link copied to clipboard
constructor(clientService: ClientService, databaseService: DatabaseService, serverService: ServerService, mapperService: MapperService)
Functions
Link copied to clipboard
fun configGenericRoutes(onCreateMappedRoute: suspend (MappedRoute, MiddlewareAuthHeader?) -> MappedRoute)
Configures the generic routes.
Link copied to clipboard
Configures the stored mapped routes.
Link copied to clipboard
Link copied to clipboard
Creates the mapped API.
Link copied to clipboard
Creates the mapped route.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Queries the mapped API.
Link copied to clipboard
Queries the mapped routes.
Link copied to clipboard
Stops the middleware.
Link copied to clipboard