Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OctaneWeb/Octane
/ types & classes
Types & classes
43 in github.com/OctaneWeb/Octane
⨍
Functions
237
◇
Types & classes
43
Interface
AsMutStream
src/tls/mod.rs:6
Class
AsyncReader
src/util.rs:53
Class
Closures
src/middlewares/mod.rs:3
Interface
Config
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
Class
Cookie
src/cookie.rs:30
Class
DoublePeek
src/query.rs:39
Class
Error
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
Class
FileHandler
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
Class
FileHandlerError
Custom error type for file handling errors
src/file_handler.rs:21
Enum
Flow
src/router.rs:39
Class
Header
src/request.rs:136
Class
Headers
src/request.rs:194
Class
Http
src/http/mod.rs:17
Class
Http1xReader
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
Enum
HttpVersion
octane_http/src/lib.rs:35
Class
InvalidCertError
Custom error type for invalid SSL certificates
src/error.rs:29
Class
InvalidPathError
Custom error type for invalid paths
src/error.rs:26
Class
KeepAlive
src/request.rs:354
Enum
KeepAliveState
src/http/mod.rs:11
Class
MatchedPath
src/path.rs:152
Class
MatchedRequest
src/request.rs:423
Class
Octane
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
Class
OctaneConfig
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
Class
OwnedPathNodeIterator
src/path.rs:282
Interface
Padding
src/time.rs:17
Class
PathBuf
src/path.rs:13
Enum
PathChunk
src/path.rs:159
Class
PathData
src/path.rs:146
Enum
PathNode
src/path.rs:166
Class
PathNodeIterator
src/path.rs:276
Enum
QueryValue
src/query.rs:159
Class
RawRequest1x
octane_http/src/http1x/raw_request.rs:24
Class
Request
src/request.rs:259
Class
RequestLine
src/request.rs:75
Enum
RequestMethod
src/request.rs:24
Enum
ResBody
src/responder.rs:17
Class
Response
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
Interface
Route
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
Class
Router
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
Class
ServerBuilder
src/server_builder.rs:15
Class
Spliterator
src/util.rs:9
Class
Ssl
src/config.rs:30
Class
Time
src/time.rs:7