- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 780 for handlers (0.32 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/en/docs/advanced/events.md
In this case, the `startup` event handler function will initialize the items "database" (just a `dict`) with some values. You can add more than one event handler function. And your application won't start receiving requests until all the `startup` event handlers have completed. ### `shutdown` event { #shutdown-event }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7.8K bytes - Click Count (0) -
tests/test_router_events.py
assert client.app_state == {"router": True} @pytest.mark.filterwarnings( r"ignore:\s*on_event is deprecated, use lifespan event handlers instead.*:DeprecationWarning" ) def test_router_async_shutdown_handler(state: State) -> None: """Test that async on_shutdown event handlers are called correctly, for coverage.""" app = FastAPI() @app.get("/") def main() -> dict[str, str]:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 11.7K bytes - Click Count (0) -
internal/handlers/proxy.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. // Originally from https://github.com/gorilla/handlers with following license // https://raw.githubusercontent.com/gorilla/handlers/master/LICENSE, forked // and heavily modified for MinIO's internal needs. package handlers import ( "net" "net/http" "regexp" "strings" "github.com/minio/minio/internal/config"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 26 19:25:49 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ResourceHandler.java
* governing permissions and limitations under the License. */ package org.codelibs.core.io; import java.io.InputStream; /** * Interface for handlers that process resources. * * @author taedium */ public interface ResourceHandler { /** * Processes a resource. * * @param path the pathCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 997 bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/ArtifactHandlerManager.java
*/ package org.apache.maven.artifact.handler.manager; import java.util.Map; import org.apache.maven.artifact.handler.ArtifactHandler; /** */ public interface ArtifactHandlerManager { String ROLE = ArtifactHandlerManager.class.getName(); ArtifactHandler getArtifactHandler(String type); @Deprecated void addHandlers(Map<String, ArtifactHandler> handlers);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.2K bytes - Click Count (0) -
cmd/http-tracer_test.go
httpStats := newHTTPStats() // Simulate the concurrent scenario from the original race condition: // Multiple HTTP request handlers updating stats concurrently, // while background processes are reading the stats for persistence. const numWriters = 100 // Simulate many HTTP request handlers. const numReaders = 50 // Simulate background stats readers. const opsPerGoroutine = 100 var wg sync.WaitGroup
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.3K bytes - Click Count (0) -
cmd/crossdomain-xml-handler.go
// When clients request content hosted on a particular source domain and that content make requests // directed towards a domain other than its own, the remote domain needs to host a cross-domain // policy file that grants access to the source domain, allowing the client to continue the transaction. func setCrossDomainPolicyMiddleware(h http.Handler) http.Handler {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Mar 18 06:42:40 GMT 2024 - 2.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ClassHandler.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.io; /** * Interface for handlers that process classes. * * @author koichik */ public interface ClassHandler { /** * Processes a class. * * @param packageName the package nameCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 975 bytes - Click Count (0) -
src/main/webapp/js/chat.js
filterPanel: $('#filterPanel') }; bindEvents(); autoResizeTextarea(); updateCharCount(); showStatus('ready'); } /** * Bind event handlers */ function bindEvents() { elements.sendBtn.on('click', sendMessage); elements.chatInput.on('keydown', function(e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 01:36:02 GMT 2026 - 30.6K bytes - Click Count (0) -
cmd/bucket-handlers_test.go
if err != nil { t.Fatalf("Test %s: Failed to create HTTP request for RemoveBucketHandler: <ERROR> %v", instanceType, err) } // Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler. // Call the ServeHTTP to execute the handler. apiRouter.ServeHTTP(rec, req) switch rec.Code { case http.StatusOK, http.StatusCreated, http.StatusAccepted, http.StatusNoContent:Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 39.8K bytes - Click Count (0)