# RequestID 中间件

RequestID 中间件会为Response Header http信息头添加UUID,header key: "X-Request-ID"

YoyoGo.NewWebHostBuilder().
	 UseConfiguration(configuration).
	 Configure(func(app *YoyoGo.WebApplicationBuilder) {
                 app.UseMiddleware(Middleware.NewRequestID())
         }
}