Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 372 for sendHi (0.11 sec)

  1. docs_src/websockets/tutorial001.py

        </head>
        <body>
            <h1>WebSocket Chat</h1>
            <form action="" onsubmit="sendMessage(event)">
                <input type="text" id="messageText" autocomplete="off"/>
                <button>Send</button>
            </form>
            <ul id='messages'>
            </ul>
            <script>
                var ws = new WebSocket("ws://localhost:8000/ws");
                ws.onmessage = function(event) {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/using-request-directly.md

    Para isso você precisa acessar a requisição diretamente.
    
    ```Python hl_lines="1  7-8"
    {!../../docs_src/using_request_directly/tutorial001.py!}
    ```
    
    Ao declarar o parâmetro com o tipo sendo um `Request` em sua *função de operação de rota*, o **FastAPI** saberá como passar o `Request` neste parâmetro.
    
    /// tip | "Dica"
    
    Note que neste caso, nós estamos declarando o parâmetro da rota ao lado do parâmetro da requisição.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/main/resources/fess_env.properties

    # ----------------------------------------------------------
    #                                                      Mail
    #                                                     ------
    # Does it send mock mail? (true: no send actually, logging only)
    mail.send.mock = true
    
    # SMTP server settings for main: host:port
    mail.smtp.server.main.host.and.port = localhost:25
    
    # The prefix of subject to show test environment or not
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Aug 07 04:53:24 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            }
    
            do {
                try {
                    send(request, response, config.getNetbiosRetryTimeout());
                }
                catch ( InterruptedIOException ioe ) {
                    // second query thread to finish gets interrupted so this is expected
                    if ( log.isTraceEnabled() ) {
                        log.trace("Failed to send nameservice request for " + name.name, ioe);
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                        Smb2WriteResponse resp = th.send(request, RequestParam.NO_RETRY);
                        cnt = resp.getCount();
                    }
                    else {
                        SmbComWriteAndX request = new SmbComWriteAndX(th.getConfig(), fh.getFid(), this.fp, len - w - off, b, off, w, null);
                        th.send(request, this.write_andx_resp, RequestParam.NO_RETRY);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  6. internal/store/store.go

    	retryTicker := time.NewTicker(retryInterval)
    	defer retryTicker.Stop()
    
    	send := func(key Key) bool {
    		for {
    			err := target.SendFromStore(key)
    			if err == nil {
    				break
    			}
    
    			logger(
    				context.Background(),
    				fmt.Errorf("unable to send log entry to '%s' err '%w'", target.Name(), err),
    				target.Name(),
    			)
    
    			select {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. internal/dsync/drwmutex.go

    			// Remotes will have canceled due to the missing refreshes anyway.
    			if time.Since(started) > dm.clnt.Timeouts.UnlockCall {
    				return
    			}
    		}
    	}()
    }
    
    // sendRelease sends a release message to a node that previously granted a lock
    func sendRelease(ctx context.Context, ds *Dsync, c NetLocker, owner string, uid string, isReadLock bool, names ...string) bool {
    	if c == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. docs_src/background_tasks/tutorial002.py

    
    def get_query(background_tasks: BackgroundTasks, q: Union[str, None] = None):
        if q:
            message = f"found query: {q}\n"
            background_tasks.add_task(write_log, message)
        return q
    
    
    @app.post("/send-notification/{email}")
    async def send_notification(
        email: str, background_tasks: BackgroundTasks, q: str = Depends(get_query)
    ):
        message = f"message to {email}\n"
        background_tasks.add_task(write_log, message)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 675 bytes
    - Viewed (0)
  9. cmd/admin-handlers-users.go

    			return
    		}
    	}
    
    	// Check if we are creating svc account for request sender.
    	isSvcAccForRequestor := false
    	if targetUser == requestorUser || targetUser == requestorParentUser {
    		isSvcAccForRequestor = true
    	}
    
    	// If we are creating svc account for request sender, ensure
    	// that targetUser is a real user (i.e. not derived
    	// credentials).
    	if isSvcAccForRequestor {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFile.java

                        req.setCreateDisposition(Smb2CreateRequest.FILE_OPEN);
                        req.chain(new Smb2CloseRequest(th.getConfig(), fileName));
                        th.send(req);
                    }
                    else {
                        th.send(new SmbComDeleteDirectory(th.getConfig(), fileName), new SmbComBlankResponse(th.getConfig()));
                    }
                }
                else {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top