View definition

(*URI).UpdateBytes

Defined in github.com/valyala/fasthttp/uri.go

Description

UpdateBytes updates uri.

The following newURI types are accepted:

* Absolute, i.e. http://foobar.com/aaa/bb?cc . In this case the original
  uri is replaced by newURI.
* Missing host, i.e. /aaa/bb?cc . In this case only RequestURI part
  of the original uri is replaced.
* Relative path, i.e.  xx?yy=abc . In this case the original RequestURI
  is updated according to the new relative path.

UpdateBytes is referenced in 1 repository

github.com/valyala/fasthttp