Show / Hide Table of Contents

Interface IRestClientUrlBuilder

URL building utility that implements full url path with parameters

Namespace: BlazorFocused
Assembly: BlazorFocused.Client.dll
Syntax
public interface IRestClientUrlBuilder

Methods

| Improve this Doc View Source

Build()

Compiles original set path with parameters

Declaration
string Build()
Returns
Type Description
System.String

Full URL path

| Improve this Doc View Source

SetPath(String)

Sets absolute or relative url for building

Declaration
IRestClientUrlBuilder SetPath(string absoluteOrRelativeUrl)
Parameters
Type Name Description
System.String absoluteOrRelativeUrl

Absolute or relative url parameters will be placed on

Returns
Type Description
IRestClientUrlBuilder

Continuation of IRestClientUrlBuilder to further build url

| Improve this Doc View Source

WithParameter(String, String)

Adds parameters to url

Declaration
IRestClientUrlBuilder WithParameter(string key, string value)
Parameters
Type Name Description
System.String key

Url parameter key

System.String value

Url parameter value

Returns
Type Description
IRestClientUrlBuilder

Continuation of IRestClientUrlBuilder to further build url

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX