blob: 455768c98875cb383520e9354b9ae83ec9457669 [file] [log] [blame]
// The app package contains the struct that keeps per javascript app state and handles translating
// javascript requests to veyron requests and vice versa.
package app
import (
"v.io/v23/vtrace"
"time"
)
type VeyronRPCRequest struct {
Name string
Method string
NumInArgs int32
NumOutArgs int32
IsStreaming bool
// TODO(bjornick): Change Timeout to use time.WireDeadline instead.
Deadline time.WireDeadline
TraceRequest vtrace.Request
}
type VeyronRPCResponse struct {
OutArgs []any
TraceResponse vtrace.Response
}