MCPcopy Create free account

hub / github.com/OctaneWeb/Octane / types & classes

Types & classes43 in github.com/OctaneWeb/Octane

InterfaceAsMutStream
src/tls/mod.rs:6
ClassAsyncReader
src/util.rs:53
ClassClosures
src/middlewares/mod.rs:3
InterfaceConfig
Shared config trait which allows us to use the config methods on the Octane server struct too as it has a config field by default
src/config.rs:114
ClassCookie
src/cookie.rs:30
ClassDoublePeek
src/query.rs:39
ClassError
The Error structure holds the kind of error code and the location of the custom 404 file, if given by the user and manages sending errors on internal
src/error.rs:20
ClassFileHandler
The FileHandler structure is a helper struct to manage files, contents and extensions also to decide their mime types accordingly
src/file_handler.rs:12
ClassFileHandlerError
Custom error type for file handling errors
src/file_handler.rs:21
EnumFlow
src/router.rs:39
ClassHeader
src/request.rs:136
ClassHeaders
src/request.rs:194
ClassHttp
src/http/mod.rs:17
ClassHttp1xReader
Reads and parses the head of an HTTP/1.x request straight off an [`AsyncRead`] source, with zero copies of the parsed fields. Bytes are streamed into
octane_http/src/http1x/mod.rs:22
EnumHttpVersion
octane_http/src/lib.rs:35
ClassInvalidCertError
Custom error type for invalid SSL certificates
src/error.rs:29
ClassInvalidPathError
Custom error type for invalid paths
src/error.rs:26
ClassKeepAlive
src/request.rs:354
EnumKeepAliveState
src/http/mod.rs:11
ClassMatchedPath
src/path.rs:152
ClassMatchedRequest
src/request.rs:423
ClassOctane
The Octane server # Example ```no_run use octane::prelude::*; #[tokio::main] async fn main() { let mut app = Octane::new(); app.get( "/", route!( |
src/server.rs:47
ClassOctaneConfig
An independent OctaneConfig struct that can be used separately from the app structure and then be appended to it. Note**: If you won't push the indep
src/config.rs:103
ClassOwnedPathNodeIterator
src/path.rs:282
InterfacePadding
src/time.rs:17
ClassPathBuf
src/path.rs:13
EnumPathChunk
src/path.rs:159
ClassPathData
src/path.rs:146
EnumPathNode
src/path.rs:166
ClassPathNodeIterator
src/path.rs:276
EnumQueryValue
src/query.rs:159
ClassRawRequest1x
octane_http/src/http1x/raw_request.rs:24
ClassRequest
src/request.rs:259
ClassRequestLine
src/request.rs:75
EnumRequestMethod
src/request.rs:24
EnumResBody
src/responder.rs:17
ClassResponse
The response struct contains the data which is to be send on a request. The struct has several methods to modify the contents. # Example ``` use oct
src/responder.rs:54
InterfaceRoute
The route trait adds the app.METHOD behaviour to the router/Octane structures along with some handful methods that can be used accordingly. # Example
src/router.rs:78
ClassRouter
The router structure defines the routes and stores them along with their indexes. Router methods can be used with this struct and also the main server
src/router.rs:212
ClassServerBuilder
src/server_builder.rs:15
ClassSpliterator
src/util.rs:9
ClassSsl
src/config.rs:30
ClassTime
src/time.rs:7