PartSearch

This commit is contained in:
Haiping Chen 2024-10-18 18:36:48 -05:00
parent 14bd97d088
commit 91250af6ff
2 changed files with 6 additions and 1 deletions

View file

@ -7,4 +7,9 @@ public class WebPageResponseData
public string ResponseData { get; set; } = null!;
public bool ResponseInMemory { get; set; }
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public override string ToString()
{
return $"{Url} {ResponseData.Length}";
}
}

View file

@ -13,5 +13,5 @@ public class WebPageResponseFilter
/// <summary>
/// Handle Content-Type: text/x-component
/// </summary>
public int PartIndex { get; set; } = -1;
public Func<string, string>? PartSearch { get; set; } = null;
}