2021-02-15 07:50:51 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
option go_package = "gitlab.com/inetmock/inetmock/pkg/audit/details";
|
|
|
|
option java_multiple_files = true;
|
|
|
|
option java_package = "com.github.baez90.inetmock.audit.details";
|
|
|
|
option java_outer_classname = "HandlerEventProto";
|
2021-02-15 07:51:54 +00:00
|
|
|
option csharp_namespace = "INetMock.Client.Audit.Details";
|
2021-02-15 07:50:51 +00:00
|
|
|
|
|
|
|
package inetmock.audit.details;
|
|
|
|
|
|
|
|
enum HTTPMethod {
|
|
|
|
GET = 0;
|
|
|
|
HEAD = 1;
|
|
|
|
POST = 2;
|
|
|
|
PUT = 3;
|
|
|
|
DELETE = 4;
|
|
|
|
CONNECT = 5;
|
|
|
|
OPTIONS = 6;
|
|
|
|
TRACE = 7;
|
|
|
|
PATCH = 8;
|
|
|
|
}
|
|
|
|
|
|
|
|
message HTTPHeaderValue {
|
|
|
|
repeated string values = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message HTTPDetailsEntity {
|
|
|
|
HTTPMethod method = 1;
|
|
|
|
string host = 2;
|
|
|
|
string uri = 3;
|
|
|
|
string proto = 4;
|
|
|
|
map<string, HTTPHeaderValue> headers = 5;
|
2021-02-15 07:51:54 +00:00
|
|
|
}
|