SeaweedFSFilerClient Constructors
ClassConstructors1 member
A strongly-typed HTTP client for interacting with the SeaweedFS Native Filer API.
Constructor(HttpClient)Section titled Constructor(HttpClient) A strongly-typed HTTP client for interacting with the SeaweedFS Native Filer API.
public sealed class SeaweedFSFilerClient{ public SeaweedFSFilerClient( HttpClient httpClient) { // ... }}Parameters
httpClientHttpClientThe configured SeaweedFSFilerClient.HttpClient instance, typically managed by Http.IHttpClientFactory.Remarks
The
SeaweedFSFilerClient provides a direct interface to the SeaweedFS Filer node, allowing for file system operations such as listing, creating, and managing files/directories. Usage example:public class MyService(SeaweedFSFilerClient filerClient){ public async Task ListFilesAsync() { var response = await filerClient.HttpClient.GetAsync("/"); // ... }}