More fullstack fixes (#4737)
* allow `--server` only builds! * rollback example * capture `/:route` routes * fix: properly implement file uploads in forms * implement desktop form uploads * Performant serialization of form bytes * finish up file stuff * cleanups * add request headers to streaming context * remove some unwraps
This commit is contained in:
1 parent
fc01a002fd
commit
92792aded9
47 files changed
+1241
-703
No files matched your search
@@ -57,7 +57,6 @@ pub struct IpcMessage {
|
||||
/// A set of known messages that we need to respond to
|
||||
#[derive(Deserialize, Serialize, Debug, Clone)]
|
||||
pub enum IpcMethod<'a> {
|
||||
FileDialog,
|
||||
UserEvent,
|
||||
Query,
|
||||
BrowserOpen,
|
||||
@@ -68,7 +67,6 @@ pub enum IpcMethod<'a> {
|
||||
impl IpcMessage {
|
||||
pub(crate) fn method(&self) -> IpcMethod<'_> {
|
||||
match self.method.as_str() {
|
||||
"file_dialog" => IpcMethod::FileDialog,
|
||||
"user_event" => IpcMethod::UserEvent,
|
||||
"query" => IpcMethod::Query,
|
||||
"browser_open" => IpcMethod::BrowserOpen,
|
||||
|
||||
Reference in new issue
Block a user