style_dart library
Support for doing something awesome.
More dartdocs go here.
Classes
- Access
- AccessEvent
- AccessPoint
- TODO: Document
- AccessToken
- ArgumentCallingSegment
- Happening ArgumentSegment on during the call
- ArgumentSegment
-
host/{user}/info
- AuthFilterGate
- Authorization
- AuthRedirect
- AuthWebSocketService
- BinaryBody
- Binding
- Mimari kurucusu Gerekli işlemleri gerekli yollara ekler
-
Body<
T> - BuildContext
- Cacheability
- CacheControl
- CacheControlBuilder
- CacheControlDirective
- CachedFile
- Calling
- İşlem Çağrısı
- CallingBinding
- Server Service
- CallingComponent
- TODO:
- CallingPathSegment
- Happening PathSegment on during the call
- CallQueue
- CallTrigger
- Component
- Ana Mimarideki her bir parça
- ContentDelivery
- ContentTypeFilterGate
- Count
- Create
- CreateDbResult
- CronJob
- CronJobRequest
- CronJobState
- Crypto
- DataAccess
- DataAccessImplementation
- DbCollection
-
DbResult<
T> - Database Operation Result
-
DefaultExceptionEndpoint<
T extends Exception> - DefaultHttpServiceHandler
- DefaultLogger
- Delete
- DeleteDbResult
- DevelopmentBinding
- EncryptedAccessToken
- Endpoint
- EndpointCalling
- EndpointCallingBinding
-
EndpointState<
T extends StatefulEndpoint> - EtagEndpoint
-
EtagEndpointState<
T extends StatefulEndpoint> -
ExceptionEndpoint<
T extends Exception> -
ExceptionEndpointCalling<
T extends Exception> -
ExceptionEndpointCallingBinding<
T extends Exception> - ExceptionHandler
- ExceptionSet
-
ExceptionWrapper<
T extends Exception> - Exists
- Expiration
- Favicon
- FaviconState
- Gate
- GateBase
- GateCalling
- Gateway
- GatewayBinding
- GatewayCalling
- GateWithChild
- GateWithChildCalling
- GeneratedRedirect
-
GlobalKey<
T extends State< StatefulComponent> > - HtmlBody
- HttpService
- HttpStyleRequest
- IfModifiedSinceMethod
- IfNoneMatchMethod
- JsonBody
- Key
- LastModifiedEndpoint
-
LastModifiedEndpointState<
T extends StatefulEndpoint> - Logger
- Log everything
- LogMessage
- eg log server_start Server Started : Server started with 192.168.1.1 14.00.21 16:18 { agent: x, cause: y, token: a, context: short_desc, duration: 10 ms }
- Message
- MethodFilterGate
- MultiChildCallingBinding
- MultiChildCallingComponent
- NamedCallingSegment
- Happening NamedSegment on during the call
- NamedSegment
-
host/{user}/info
- NoResponseRequired
- NullBody
- OperationSettings
- Db Operation settings
- PathController
- PathController is controller for during the call and visiting call tree callings.
- PathSegment
- Each path partition (between "/") is PathSegment.
- PermissionHandler
- PermissionHandlerService
- Query
- Read
- ReadMultiple
- Redirect
- Request
- All requests from client or in-server triggered with Request
- RequestContext
- It refers to the context in which the request occurs and the BuildContext of the endpoints and gates it reaches.
- RequestTrigger
- Response
- ResponseTrigger
-
ResponseWithCacheControl<
T> - ResponseWithEtag
- ResponseWithLastModified
- RestAccessPoint
- Access data with context's DataAccess
- Revalidation
-
RevalidationMethod<
T> - Route
- RouteBase
- Adds a new single sub-path or endpoint segment to parent path
- RouteBinding
- RouteCalling
-
RouteCalling call on request this segment.
And route to
child
orunknown
orroot
which is called as endpoint - Server
- Base component for server
- ServerBinding
- ServiceCalling
- ServiceCallingComponent
- ServiceState
-
ServiceWrapper<
B extends _BaseService> - It assigns the service entered as the default service (unless re-wrapped) in all contexts under the context in which it was created.
-
ServiceWrapperBinding<
B extends _BaseService> - SimpleAuthorization
- SimpleCacheDataAccess
- SimpleDataAccess
- SimpleEndpoint
-
SimpleExceptionEndpoint<
T extends Exception> - SingleChildBinding
- SingleChildBindingComponent
- SingleChildCallingBinding
- SingleChildCallingComponent
-
State<
T extends StatefulComponent> - StatefulBinding
- StatefulComponent
- StatefulEndpoint
- StatelessBinding
- StatelessComponent
- StringBody
- StyleWebSocketService
- SubRoute
- Throw
- Always throw
-
TreeVisitor<
T> - Trigger
- TriggerService
- Update
- UpdateDbResult
-
ValidationRequest<
T> -
ValidationResponse<
T> - ValidationResult
- WebDev
- WebDevState
- WebSocketConnection
- A web socket connection. Created at connected and disposed at connection end.
- WebSocketConnectionRequest
- WebSocketService
Enums
- AccessType
- Agent
- Request agent. Example: The agent of all http/(s) requests received by the server is Agent.http
- Cause
- Request Cause. Indicates why this request is made.
- DbOperationType
- Mongo Db Operation Type
- EndpointPreferredType
- Endpoint preferred types for performance optimization.
- LogLevel
- Methods
- TriggerType
Mixins
- PathSegmentCallingComponentMixin
- Each object in the call tree is generated by a CallingComponent. Some Callings in the tree create a path segment.
- ServiceOwnerMixin
- Base service owner can be Server or MicroService(soon). Service owner took states and cron jobs. Also took service root name.
Properties
- exceptionSet ↔ ExceptionSet
-
getter/setter pair
Functions
-
getRandomId(
int len) → String - Get random id defined length
-
runService(
Component component) → Binding
Typedefs
-
AggregationResult
= ArrayDbResult<
Map< String, dynamic> > -
ArrayDbResult<
T> = DbResult< List< T> ?> - BindingVisitor = void Function(Binding binding)
-
BoolDbResult
= DbResult<
bool> -
Checker
= Future<
bool> Function() -
CountDbResult
= DbResult<
int> -
DbOperation<
T extends DbResult> = FutureOr< T> Function(Access access) -
ExceptionHandleEndpoint<
T extends Exception> = FutureOr< Response> Function(Message request, T exception, StackTrace stackTrace) -
OnEvent
= Future<
void> Function(AccessEvent event) - On Document Create Function
-
PermissionChecker
= Map<
String, Map< Function(Access access)DbOperationType, Checker> > -
PermissionCheckerCallback
= FutureOr<
bool> Function(AccessEvent event) -
ReadDbResult
= DbResult<
Map< String, dynamic> ?> -
ReadListResult
= ArrayDbResult<
Map< String, dynamic> > -
ValidationCallback<
T> = bool Function(T? value)
Exceptions / Errors
- BadGateway
- BadRequests
- ClientError
- ConflictsException
- ExpectationFailed
- FailedDependency
- GoneException
- HttpVersionNotSupported
- IamATeapot
- InsufficientStorage
- InternalServerError
- LengthRequiredException
- LockedException
- LoopDetected
- MethodNotAllowedException
- MisdirectedRequest
- NetworkAuthenticationRequired
- NotAcceptableException
- NotExtendedException
- NotFoundException
- NotImplemented
- PayloadTooLarge
- PaymentRequired
- PreconditionFailed
- PreconditionRequired
- ProxyAuthenticationException
- RangeNotSatisfiable
- RequestHeaderFieldsTooLarge
- RequestTimeoutException
- ServerError
-
StyleException<
T extends Exception> - TimeoutException
- TooEarlyException
- TooManyRequests
- UnprocessableEntity
- UnsupportedMediaType
- UpgradeRequired
- UriTooLong
- VariantAlsoNegotiates