View definition

(*Response).EntityWriter

Defined in github.com/emicklei/go-restful/response.go

Description

EntityWriter returns the registered EntityWriter that the entity (requested resource) can write according to what the request wants (Accept) and what the Route can produce or what the restful defaults say. If called before WriteEntity and WriteHeader then a false return value can be used to write a 406: Not Acceptable.

EntityWriter is referenced in 1 repository

github.com/emicklei/go-restful