Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/feoblog_client/private/protobuf/feoblog.ts>Server

a JavaScript client for feoblog written for Deno
Latest
class Server
extends Message<Server>
import { Server } from "https://deno.land/x/feoblog_client@v0.7.0/private/protobuf/feoblog.ts";

Information about where a user's posts may be found. This lets content creators' clients know where to send posts when they're uploaded. This also lets consumers' clients know where they can find the creator's content.

Properties

url: string

A URL to a FeoBlog server. Ex: "https://feo.example.com" "https://feo.example.com/" "https://feo.example.com:8080" "https://feo.example.com:8080/"

Note 1: Subpaths are currently not supported. Ex: "https://feo.example.com/some/subpath/"

Note 2: While the signature authentication allows serving/sending signed protobuf Items securely without HTTPS, since the main client is currently implemented as in-browser JavaScript, it is recommended that servers use only HTTPS to avoid JavaScript injection in the client. So, you should probably prefer https for the REST endpoints too. Plus, HTTP/2 requires HTTPS, and you'll get better performance for fetching many small Items w/ HTTP/2.

Static Properties

readonly
fields: FieldList
readonly
runtime
readonly
typeName: string

Static Methods

equals(a: Server | PlainMessage<Server> | undefined, b: Server | PlainMessage<Server> | undefined): boolean
fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Server
fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Server
fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Server