(_ context.Context)
| 162 | } |
| 163 | |
| 164 | func (p *StreamableHTTPServerProxy) Shutdown(_ context.Context) error { |
| 165 | if p.client == nil { |
| 166 | return nil |
| 167 | } |
| 168 | |
| 169 | // NOTE: as of v0.38.0 the lib doesn't allow an outside context to be passed in; |
| 170 | // it has an internal timeout of 5s, though. |
| 171 | return p.client.Close() |
| 172 | } |
| 173 | |
| 174 | func (p *StreamableHTTPServerProxy) traceAttributes() []attribute.KeyValue { |
| 175 | return []attribute.KeyValue{ |