Home | History | Annotate | Download | only in provider

Lines Matching full:should

18 // This interface should be implemented by the user of libweave and
29 // Implementation of AddHttpsRequestHandler(...) method should follow the
33 // Implementation of GetHttpPort() method should return port number on
38 // Implementation of GetHttpsPort() should follow the same guidelines as
42 // Implementation of GetHttpsCertificateFingerprint() method should
49 // Implementation of AddHttpRequestHandler(...) method should add path
52 // it should check if there is a libweave-registered handler corresponding to
53 // the path in the request. If there is one, implementation should invoke
55 // with request path, webserver should return HTTP status code 404.
65 // - callback should not be called before AddHttpRequestHandler() returns
66 // - callback should be called on the same thread
68 // Once HttpServer implementation invokes a registered callback, it should
71 // Implementation of GetPath() method should return path of the HTTP
74 // Implementation of the GetFirstHeader(...) method should return the first
78 // Implementation of GetData() method should return full request data
81 // Implementation of the SendReply(...) method should send request response
86 // mime_type - MIME type of the response, that should be transferred into
99 // connections. In such case, webserver should start on both interfaces
140 // requests. Should return base::TimeDelta::Max() if there is no timeout.