SetTimeout runs before NewStream. Implementations may inspect the HTTP request, parse any timeout set by the client, and return a modified context and cancellation function. If the client didn't send a timeout, SetTimeout should return the request's context, a nil cancellation function, and a nil e
(*http.Request)
| 102 | // If the client didn't send a timeout, SetTimeout should return the |
| 103 | // request's context, a nil cancellation function, and a nil error. |
| 104 | SetTimeout(*http.Request) (context.Context, context.CancelFunc, error) |
| 105 | |
| 106 | // CanHandlePayload returns true if the protocol can handle an HTTP request. |
| 107 | // This is called after the request method is validated, so we only need to |