Class UrlMetadataMessage
A message for requesting metadata about a link as seen by WOLF servers.
Implements
Namespace: TehGM.Wolfringo.Messages
Assembly: Wolfringo.Core.dll
Syntax
[ResponseType(typeof(UrlMetadataResponse))]
public class UrlMetadataMessage : IWolfMessage
Remarks
Uses TipDetailsResponse as response type.
Constructors
| Improve this Doc View SourceUrlMetadataMessage()
Creates a message instance.
Declaration
[JsonConstructor]
protected UrlMetadataMessage()
UrlMetadataMessage(String)
Creates a message instance.
Declaration
public UrlMetadataMessage(string url)
Parameters
Type | Name | Description |
---|---|---|
String | url | URL to request the metadata of. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | URL is null. |
ArgumentException | URL is empty, whitespace, or otherwise invalid. |
Properties
| Improve this Doc View SourceEventName
Message event name.
Declaration
[JsonIgnore]
public string EventName { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
Equals to MetadataUrl.
URL
URL to request the metadata of.
Declaration
[JsonProperty("url")]
public string URL { get; }
Property Value
Type | Description |
---|---|
String |