Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for EscapedFragment (0.44 sec)

  1. src/net/url/example_test.go

    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println("Fragment:", u.Fragment)
    	fmt.Println("RawFragment:", u.RawFragment)
    	fmt.Println("EscapedFragment:", u.EscapedFragment())
    	// Output:
    	// Fragment: x/y/z
    	// RawFragment: x/y%2Fz
    	// EscapedFragment: x/y%2Fz
    }
    
    func ExampleURL_Hostname() {
    	u, err := url.Parse("https://example.org:8000/path")
    	if err != nil {
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 7.2K bytes
    - Viewed (0)
  2. src/net/url/url.go

    	}
    	return nil
    }
    
    // EscapedFragment returns the escaped form of u.Fragment.
    // In general there are multiple possible escaped forms of any fragment.
    // EscapedFragment returns u.RawFragment when it is a valid escaping of u.Fragment.
    // Otherwise EscapedFragment ignores u.RawFragment and computes an escaped
    // form on its own.
    // The [URL.String] method uses EscapedFragment to construct its result.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  3. api/go1.15.txt

    pkg debug/pe, const IMAGE_SUBSYSTEM_XBOX ideal-int
    pkg math/big, method (*Int) FillBytes([]uint8) []uint8
    pkg net, method (*Resolver) LookupIP(context.Context, string, string) ([]IP, error)
    pkg net/url, method (*URL) EscapedFragment() string
    pkg net/url, method (*URL) Redacted() string
    pkg net/url, type URL struct, RawFragment string
    pkg os, method (*File) ReadFrom(io.Reader) (int64, error)
    pkg os, var ErrDeadlineExceeded error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 17 02:15:01 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Writer.W", Field, 0},
    	},
    	"net/url": {
    		{"(*Error).Error", Method, 0},
    		{"(*Error).Temporary", Method, 6},
    		{"(*Error).Timeout", Method, 6},
    		{"(*Error).Unwrap", Method, 13},
    		{"(*URL).EscapedFragment", Method, 15},
    		{"(*URL).EscapedPath", Method, 5},
    		{"(*URL).Hostname", Method, 8},
    		{"(*URL).IsAbs", Method, 0},
    		{"(*URL).JoinPath", Method, 19},
    		{"(*URL).MarshalBinary", Method, 8},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top