network/types.go
func (t *InterceptionStage) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch InterceptionStage(in.String()) {
	case InterceptionStageRequest:
		*t = InterceptionStageRequest
	case InterceptionStageHeadersReceived:
		*t = InterceptionStageHeadersReceived

	default:
		in.AddError(errors.New("unknown InterceptionStage value"))
	}
}
func (t *InterceptionStage) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch InterceptionStage(in.String()) {
	case InterceptionStageRequest:
		*t = InterceptionStageRequest
	case InterceptionStageHeadersReceived:
		*t = InterceptionStageHeadersReceived

	default:
		in.AddError(errors.New("unknown InterceptionStage value"))
	}
}
// UnmarshalEasyJSON satisfies easyjson.Unmarshaler.