vania library

Classes

Address
Application
Attachment
Represents a single email attachment.
Auth
Authenticate
BaseHttpResponseException
Between
Cache
CacheDriver
Commands<K, V>
All commands type inherited
CommandsClient<K, V>
Implementation of Commands
Config
Confirmed
Connection
posgresql Connection implementation
Content
Controller
CORSConfig
DatabaseClient
DatabaseDriver
EndWith
Env
Envelope
FileAttachment
Gate
GreaterThan
HasApiTokens
Hash
HttpResponseException
InArray<T>
IntDecoder
builtin String to int decoder
IntEncoder
builtin int to String encoder
IsAlpha
IsAlphaDash
IsAlphaNumeric
IsArray
IsBoolean
IsDate
IsDouble
IsEmail
IsFile
IsImage
IsInteger
IsIp
IsJson
IsNumeric
IsRequired
IsString
IsURL
IsUUID
KeysCommands<K, V>
key-value operation commands
LengthBetween
LessThan
ListCommands<K, V>
list operation commands
Logger
Mailable
Max
MaxLength
Middleware
Migration
MigrationConnection
MinLength
Model
MultiCodec
MysqlDriver
NotInArray<T>
PostgreSQLDriver
PubSubCommands<V>
pubsub operation commands
QueryBuilder
Redis
RedisCacheDriver
RedisClient
Redis Client
RedisCodec<T>
encoder and decoder pair
RedisConverter<S, D>
converter base class convert S to D
Request
RequestFile
RequiredIf
RequiredIfNot
Response
Route
Router
Seeder
ServiceProvider
StartWith
Storage
StorageDriver
StreamAttachment
StringAttachment
StringDecoder
builtin String to String decoder
StringEncoder
builtin String to String encoder
Throttle
TransactionCommands<K, V>
transaction operation commands
Validation
ValidationRule
WebSocketClient
WebSocketClientImpl
WebSocketEvent
WebSocketMiddleware

Properties

connection Connection?
no setter
extensions List<String>
getter/setter pair

Functions

abort(int code, String message) → dynamic
assets(String src) String
can(String ability) bool
cannot(String ability) bool
dbTransaction(Future<void> callback(Connection connection), [int? timeoutInSeconds]) → void
env<T>(String key, [dynamic defaultValue]) → T
parseMailboxes(String addresses) List<Address>
Parse a comma-separated list of rfc5322 3.4 mailboxes to a List<Address>. Does not handle rfc5322 comments.
publicPath(String file) String
storagePath(String file) String
trans(String key, [Map<String, dynamic>? args]) String
url(String path) String

Typedefs

RedisDecoder<T> = RedisConverter<String, T>
convert to T from String
RedisEncoder<T> = RedisConverter<T, String>
convert to String from T

Exceptions / Errors

QueryException