wampire icon indicating copy to clipboard operation
wampire copied to clipboard

Asynchronous Rust implementation of a WAMP (Web Application Messaging Protocol) client and router

Results 8 wampire issues
Sort by recently updated
recently updated
newest added

**Describe the bug** Received errors like `invalid value 66856894559470078 for ID ` or `received yield for call that was not send` while playing with your great crate ;) Digged a...

bug

https://github.com/ohyo-io/wampire/blob/a901df4fa4dde4a11770f2ac7caa5ea5bff5a81c/src/client.rs#L1052C12-L1052C12 ```rust pub fn call( &mut self, procedure: URI, args: Option, kwargs: Option, ) -> Pin { info!("Calling {:?} with {:?} | {:?}", procedure, args, kwargs); let request_id = self.get_next_session_id();...

The wiki page about authentication has only broken links, I'm unable to find an example to use wampcra. I get: ``` Router aborted connection. Reason: CustomReason(URI { uri: "wamp.error.no_auth_method" })...

> `net2` crate has been deprecated; use `socket2` instead | Details | | | ------------------- | ---------------------------------------------- | | Status | unmaintained | | Package | `net2` | | Version...

Running endpoint example and api_user example, the addition example is not able to parse it's arguments correctly. ``` Enter a command (or type "help") add 10,10 Error: CallError { reason:...

https://github.com/ohyo-io/wampire/blob/de5aa3b46789edef767440ff97885f5b3271271e/src/lib.rs#L17 The `WampResult` type which is returned by many public facing APIs wraps the private wampire::error::Error type. This prevents callers from implementing `From(wampire::error::Error)` for their custom error types.

The call to `connect()` ends up calling `unwrap()` which makes the program panic. Client code : ```Rust let mut client = match connection.connect() { Ok(c) => c, Err(e) => {...