Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 931 - 940 of 1,199 for headset (0.06 seconds)

  1. docs/zh-hant/docs/advanced/websockets.md

    而且它們都會使用同一個 WebSocket 連線。
    
    ## 使用 `Depends` 與其他功能 { #using-depends-and-others }
    
    在 WebSocket 端點中,你可以從 `fastapi` 匯入並使用:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    它們的運作方式與其他 FastAPI 端點/*路徑操作* 相同:
    
    {* ../../docs_src/websockets_/tutorial002_an_py310.py hl[68:69,82] *}
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

        responseBodyBytes: Matcher<Long?>?,
      ) {
        if (requestHeaderLength != null) {
          val responseHeadersEnd = listener.removeUpToEvent<RequestHeadersEnd>()
          MatcherAssert.assertThat(
            "request header length",
            responseHeadersEnd.headerLength,
            requestHeaderLength,
          )
        } else {
          assertThat(listener.recordedEventTypes())
            .doesNotContain(RequestHeadersEnd::class)
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

        }
    
        /**
         * The name of the module is part of the URI for deep links, changing it will break existing links.
         * The name of the module must match the first header of {@code kotlin/Module.md} file.
         */
        private static void renameModule(Project project) {
            getDokkaExtension(project).getModuleName().set("gradle");
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed May 28 11:34:42 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/netbios/NbtSocket.java

    import java.net.Socket;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.util.LogStream;
    
    /**
    Do not use this class. Writing to the OutputStream of this type of socket
    requires leaving a 4 byte prefix for the NBT header. IOW you must call
    write( buf, 4, len ). Calling write( buf, 0, len ) will generate an error.
     */
    
    public class NbtSocket extends Socket {
    
        private static final int SSN_SRVC_PORT = 139;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

        }
    
        @Override
        public void encode(final NdrBuffer buf) throws NdrException {
            final int start = buf.getIndex();
            int alloc_hint_index = 0;
    
            buf.advance(16); /* momentarily skip header */
            if (ptype == 0) { /* Request */
                alloc_hint_index = buf.getIndex();
                buf.enc_ndr_long(0); /* momentarily skip alloc hint */
                buf.enc_ndr_short(0); /* context id */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  6. src/arena/arena.go

    //go:linkname runtime_arena_newArena
    func runtime_arena_newArena() unsafe.Pointer
    
    //go:linkname runtime_arena_arena_New
    func runtime_arena_arena_New(arena unsafe.Pointer, typ any) any
    
    // Mark as noescape to avoid escaping the slice header.
    //
    //go:noescape
    //go:linkname runtime_arena_arena_Slice
    func runtime_arena_arena_Slice(arena unsafe.Pointer, slice any, cap int)
    
    //go:linkname runtime_arena_arena_Free
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Click Count (0)
  7. docs/tr/docs/alternatives.md

    Harika performans elde etmenin yollarını bulmak.
    
    Hug ile birlikte (Hug, Falcon’a dayanır) **FastAPI**’da fonksiyonlarda opsiyonel bir `response` parametresi ilan edilmesi fikrine ilham vermek. FastAPI’da bu parametre çoğunlukla header, cookie ve alternatif durum kodlarını ayarlamak için kullanılır.
    
    ///
    
    ### [Molten](https://moltenframework.com/) { #molten }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 24K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/websockets.md

    ## Using `Depends` and others { #using-depends-and-others }
    
    In WebSocket endpoints you can import from `fastapi` and use:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    They work the same way as for other FastAPI endpoints/*path operations*:
    
    {* ../../docs_src/websockets_/tutorial002_an_py310.py hl[68:69,82] *}
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  9. docs/ru/docs/advanced/websockets.md

    ## Использование `Depends` и не только { #using-depends-and-others }
    
    Вы можете импортировать из `fastapi` и использовать в эндпоинте вебсокета:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    Они работают так же, как и в других FastAPI эндпоинтах/*операциях пути*:
    
    {* ../../docs_src/websockets_/tutorial002_an_py310.py hl[68:69,82] *}
    
    /// info | Примечание
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  10. internal/http/transports.go

    type uaTransport struct {
    	ua string
    	rt http.RoundTripper
    }
    
    func (u *uaTransport) RoundTrip(req *http.Request) (*http.Response, error) {
    	req2 := req.Clone(req.Context())
    	req2.Header.Set("User-Agent", u.ua)
    	return u.rt.RoundTrip(req2)
    }
    
    // WithUserAgent wraps an existing transport with custom User-Agent
    func WithUserAgent(rt http.RoundTripper, getUA func() string) http.RoundTripper {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 17:51:53 GMT 2025
    - 6.5K bytes
    - Click Count (0)
Back to Top