Method | Description | |
---|---|---|
GoogleUrlShortener ( ) : System |
Initializes a new instance of the GoogleUrlShortener class.
|
|
GoogleUrlShortener ( |
Initializes a new instance of the GoogleUrlShortener class.
|
|
ShortenAsync ( |
Shortens the specified long URL.
|
public GoogleUrlShortener ( |
||
httpClient | The HTTP client. | |
return | System |
public ShortenAsync ( |
||
longUrl | The long URL. | |
cancellationToken | The cancellation token. | |
return | Task |