package common type ApiRequest struct { // Body // // Required: false Body []byte // The (HTTP) request headers / gRPC metadata. // // Internal IP-Addresses have to be removed (e.g. in x-forwarded-xxx headers). // // Required: true Header map[string][]string // The HTTP request `Host` header value. // // Required: true Host string // Method // // Required: true Method string // The URL scheme, such as `http`, `https` or `gRPC`. // // Required: true Scheme string // The network protocol used with the request, such as "http/1.1", // "spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic". See // https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids // for details. // // Required: true Proto string // The url // // Required: true URL RequestUrl } type RequestUrl struct { // The gRPC / HTTP URL path. // // Required: true Path string // The HTTP URL query in the format of "name1=value1&name2=value2", as it // appears in the first line of the HTTP request. // The input should be escaped to not contain any special characters. // // Required: false RawQuery *string }