blob: 204127f58ff7622e8167982462c7665226fcdb6a [file] [log] [blame]
package pipetobrowser
// Viewer allows clients to stream data to it and to request a particular viewer to format and display the data.
type Viewer interface {
// Pipe creates a bidirectional pipe between client and viewer service, returns a success message provided by the client
Pipe() stream<[]byte, _> (string, error)
}