MCPcopy Index your code
hub / github.com/koding/kite / do

Method do

sockjsclient/xhr.go:315–325  ·  view source on GitHub ↗
(req *http.Request)

Source from the content-addressed store, hash-verified

313}
314
315func (x *XHRSession) do(req *http.Request) <-chan doResult {
316 ch := make(chan doResult, 1)
317
318 go func() {
319 var res doResult
320 res.Response, res.Error = x.client.Do(req)
321 ch <- res
322 }()
323
324 return ch
325}
326
327type frameReader struct {
328 r *bufio.Reader

Callers 1

RecvMethod · 0.95

Calls 1

DoMethod · 0.80

Tested by

no test coverage detected