EmbedService.Fetch Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Fetch(string, int?, int?)

Fetch an embed object for the specified url.

public static Embed Fetch(string url, int? maxwidth = default(int? ), int? maxheight = default(int? ))

Parameters

url
string

The URL to retrieve embedding information for.

maxwidth
int?
maxheight
int?

Returns

Embed

An Embed object or null if the url did not contain an embeddable resource.