๐Ÿ’พ Archived View for bbs.geminispace.org โ€บ u โ€บ Addison โ€บ 1839 captured on 2024-06-16 at 15:55:38. Gemini links have been rewritten to link to archived content

View Raw

More Information

โฌ…๏ธ Previous capture (2024-05-26)

-=-=-=-=-=-=-

Opal 1.7.0 - now with Titan!

Last night I finished the initial implementation of support for the Titan protocol in Opal.

Opal is a Gemini client library written for the C# world (.NET Standard 2.0 and .NET 7).

Uploading the contents of a file to a remote host using Opal now looks like the following:

var client = new OpalClient();

await using var file = File.Open("society-of-the-spectacle.pdf");

var response = await client.UploadAsync("titan://example.com", file.Length, "my-secret-token", "application/pdf", file);

if (response is ErrorResponse error)
    Console.WriteLine($"Something went wrong: {error.Message}");
else
    Console.WriteLine($"Status: {response.Status}");

This means that I can begin implementing support for Titan uploads in Rosy Crow. I hope to have that finished before the end of the week.

Thank you for reading! ๐Ÿ˜

Opal is on GitHub

๐Ÿ Addison

2023-06-11 ยท 1 year ago ยท ๐Ÿ‘ skyjake, gritty, jeang3nie, ResetReboot