aboutsummaryrefslogtreecommitdiff
path: root/pkg/ext/request.go
blob: d1593b2453bf93f195f9a8fa355fe5f657a352a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package ext

import (
	"io"
	"net/http"
)

type Request struct {
	*http.Request
}

func (r *Request) ReadBody() io.ReadCloser {
	return r.Body
}