Description
I need to report errors from a process that runs in an off-line sandbox, without its own access to a network. The process can serialize and pass on messages to be sent from another process (like Chrome Renderer helper and Chrome root process). Related to #281
Sentry supports pluggable Transport
which can be used to capture an Envelope
, and Envelope
supports serialization via to_writer
, so I can move it between processes easily. However, the Transport
trait can't send a serialized &[u8]
representation of the envelope, so I can't reuse Sentry's implementation of networked transports. I need to reinvent the whole transport logic myself, including retry-after and rate limiting logic, which I'd rather not duplicate.
-
Could you extend the
Transport
trait to support sending of an already-serialized envelope from&[u8]
orVec<u8>
representation? -
Or, could you make it possible to parse
Envelope
object back from its serialized representation, so that I can feed it back to aTransport
? -
Alternatively, could you make
TransportThread
public, so I would only need to copy-paste only the easy parts of an http client implementation?
Activity