minerva library
Classes
- Agent
- The base class for all agent classes.
- AgentConnector
- Used to send requests to agents.
- AgentConnectors
- Contains all connectors that are used to send requests to agents.
- AgentData
- Used to create agents during server initialization.
- Api
- An arbitrary class for all Apis.
- AuthContext
- Represents the authentication context of an incoming request.
- AuthOptions
- Authentication options that are used to access endpoints or redirects.
- BadRequestResult
- BodyFilter
- Base class for body filters.
- BuildManager
- Provides information about the current build of the project.
- ConfigurationManager
- ConsoleLogger
- Logger for logging to the console.
- ContentTypeFilter
- The content-type filter is used to filter out requests that do not match it.
- CookieAuthContext
- Contains cookie authentication request data.
- CookieAuthMiddleware
- Middleware which is used for cookie authentication.
- CookieAuthOptions
- Cookie authorization options that the request must match.
- Endpoint
- Contains information about the HTTP endpoint.
- EndpointMiddleware
- Endpoints
- Contains the endpoints of the current server instance.
- ErrorMiddleware
- It is used to handle errors that occur when processing requests in the request processing pipeline.
- FileContentResult
- FileLogger
- Used for logging to a file.
- FileLoggerAgent
- This agent is necessary for FileLogger to work.
- FilePathContentResult
- FilePathResult
- FileResult
- FormData
- FormDataFile
- FormDataString
- FormDataValue
- FormField
- Used when filtering requests, to check for the presence of form field in the request body.
- FormFilter
- The body filter is used to filter out requests that do not match it.
- HostEnvironment
- Provides information about the environment in which the project is running.
- InternalServerErrorResult
- JsonField
- Used when filtering requests, to check for the presence of json field in the request body.
- JsonFilter
- The body filter is used to filter out requests that do not match it.
- JsonResult
- JwtAuthContext
- Contains JWT authentication request data.
- JwtAuthMiddleware
- Middleware which is used for JWT authentication.
- JwtAuthOptions
- JWT authorization options that the request must match.
- Logger
- Base class for logger classes.
- Middleware
- Base class for middleware classes for handle requests.
- MiddlewareContext
- Used in middlewares, it contains the data of the current server instance, as well as the data of the incoming request.
- MiddlewarePipelineNode
- Node of middleware pipeline.
- Minerva
- The class that is used to binds, pauses, resumes the server.
- MinervaAgentsBuilder
- Used to configure the agents on the server.
- MinervaApisBuilder
- Used to configure the apis on the server.
- MinervaEndpointsBuilder
- Used to configure endpoints on the server.
- MinervaHttpHeaders
- MinervaLoggersBuilder
- Used to configure the loggers on the server.
- MinervaMiddlewaresBuilder
- Used to configure the middlewares on the server.
- MinervaRequest
- Used when processing incoming requests. Contains the request data.
- MinervaResponse
- MinervaServerBuilder
- Used to configure the server.
- MinervaSetting
- Server settings. Used during server initialization.
- MinervaSettingBuilder
- Used to configure the server.
- NotFoundResult
- OkResult
- QueryParameter
- Used in query parameters filter.
- QueryParametersFilter
- The query parameters filter is used to filter out requests that do not match it.
- RedirectionData
- Contains data about redirection.
- RedirectionMiddleware
- Middleware which is used to redirect incoming requests.
- RedirectionResult
- RequestBody
- RequestFilter
- The request filter is used to filter out requests that do not match it.
- Result
- Role
- Used for JWT user authentication.
- ServerContext
- Stores data of the current server instance.
- ServerStore
- Simple key-value store.
- StaticFilesMiddleware
- Middleware that is used to distribute static files.
- Utf8Converter
Enums
- BuildType
- FormFieldType
- Form field types.
- HttpMethod
- JsonFieldType
- Json field types.
- LogLevel
- QueryParameterType
Typedefs
- EndpointErrorHandler = FutureOr Function(ServerContext context, MinervaRequest request, Object error)
-
WebSocketHandler
= FutureOr<
void> Function(ServerContext context, WebSocket socket)