func()

in internal/plugin/plugin.go [197:209]


func (ph *responsePhase) builder(id uint32, resp *inHTTP.Response) *flatbuffers.Builder {
	builder := util.GetBuilder()
	if resp != nil && resp.FetchChanges(builder) {
		return builder
	}

	hrespc.RespStart(builder)
	hrespc.RespAddId(builder, id)
	res := hrespc.RespEnd(builder)
	builder.Finish(res)

	return builder
}