websession

package
v0.0.0-...-e2e80d8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const HttpStatus = uint64(0xaf480a0c6cab8887)
View Source
const (
	HttpStatusAnnotationId = uint64(12630356203439622279)
)

Constants defined in web-session.capnp.

View Source
const HttpStatusDescriptor_TypeID = 0xbc353583a3731ade

HttpStatusDescriptor_TypeID is the unique identifier for the type HttpStatusDescriptor.

View Source
const WebSession_AcceptedEncoding_TypeID = 0xbda585bffe1dc7e8

WebSession_AcceptedEncoding_TypeID is the unique identifier for the type WebSession_AcceptedEncoding.

View Source
const WebSession_AcceptedType_TypeID = 0xaaf9021b627cc1f9

WebSession_AcceptedType_TypeID is the unique identifier for the type WebSession_AcceptedType.

View Source
const WebSession_CachePolicy_Scope_TypeID = 0x81535505f60de028

WebSession_CachePolicy_Scope_TypeID is the unique identifier for the type WebSession_CachePolicy_Scope.

View Source
const WebSession_CachePolicy_TypeID = 0xb37b21e300864885

WebSession_CachePolicy_TypeID is the unique identifier for the type WebSession_CachePolicy.

View Source
const WebSession_Context_Header_TypeID = 0xb4e5f4cccb748429

WebSession_Context_Header_TypeID is the unique identifier for the type WebSession_Context_Header.

View Source
const WebSession_Context_TypeID = 0xf5cae52becabc767

WebSession_Context_TypeID is the unique identifier for the type WebSession_Context.

View Source
const WebSession_Cookie_TypeID = 0xa87d65bed9b60243

WebSession_Cookie_TypeID is the unique identifier for the type WebSession_Cookie.

View Source
const WebSession_ETag_TypeID = 0xd22c0be5b9c16558

WebSession_ETag_TypeID is the unique identifier for the type WebSession_ETag.

View Source
const WebSession_Options_TypeID = 0xe9ff06beec4e73d6

WebSession_Options_TypeID is the unique identifier for the type WebSession_Options.

View Source
const WebSession_Params_TypeID = 0xd7051b9757f6b096

WebSession_Params_TypeID is the unique identifier for the type WebSession_Params.

View Source
const WebSession_PostContent_TypeID = 0xb7d82eac416ab63e

WebSession_PostContent_TypeID is the unique identifier for the type WebSession_PostContent.

View Source
const WebSession_PropfindDepth_TypeID = 0xb39cc44599b3a41b

WebSession_PropfindDepth_TypeID is the unique identifier for the type WebSession_PropfindDepth.

View Source
const WebSession_PutContent_TypeID = 0xd7aff1fe39659132

WebSession_PutContent_TypeID is the unique identifier for the type WebSession_PutContent.

View Source
const WebSession_RequestStream_TypeID = 0x99ffc2f3f69a6a9f

WebSession_RequestStream_TypeID is the unique identifier for the type WebSession_RequestStream.

View Source
const WebSession_RequestStream_getResponse_Params_TypeID = 0xe9a02a3219bdbd70

WebSession_RequestStream_getResponse_Params_TypeID is the unique identifier for the type WebSession_RequestStream_getResponse_Params.

View Source
const WebSession_Response_ClientErrorCode_TypeID = 0x8ea31bdb4c044f01

WebSession_Response_ClientErrorCode_TypeID is the unique identifier for the type WebSession_Response_ClientErrorCode.

View Source
const WebSession_Response_ErrorBody_TypeID = 0x9497e63b399a2c01

WebSession_Response_ErrorBody_TypeID is the unique identifier for the type WebSession_Response_ErrorBody.

View Source
const WebSession_Response_Header_TypeID = 0xb4b873147ab5ce5e

WebSession_Response_Header_TypeID is the unique identifier for the type WebSession_Response_Header.

View Source
const WebSession_Response_SuccessCode_TypeID = 0x82130007ccd2888f

WebSession_Response_SuccessCode_TypeID is the unique identifier for the type WebSession_Response_SuccessCode.

View Source
const WebSession_Response_TypeID = 0x8193ac6cb5429c83

WebSession_Response_TypeID is the unique identifier for the type WebSession_Response.

View Source
const WebSession_TypeID = 0xa50711a14d35a8ce

WebSession_TypeID is the unique identifier for the type WebSession.

View Source
const WebSession_WebSocketStream_TypeID = 0xf001fc1d5e574a07

WebSession_WebSocketStream_TypeID is the unique identifier for the type WebSession_WebSocketStream.

View Source
const WebSession_WebSocketStream_sendBytes_Params_TypeID = 0x9a712ce3fcad8cd8

WebSession_WebSocketStream_sendBytes_Params_TypeID is the unique identifier for the type WebSession_WebSocketStream_sendBytes_Params.

View Source
const WebSession_acl_Params_TypeID = 0x9f79c33e20119e8d

WebSession_acl_Params_TypeID is the unique identifier for the type WebSession_acl_Params.

View Source
const WebSession_copy_Params_TypeID = 0x8139673a82bfe07d

WebSession_copy_Params_TypeID is the unique identifier for the type WebSession_copy_Params.

View Source
const WebSession_delete_Params_TypeID = 0xeba76bffb27b1975

WebSession_delete_Params_TypeID is the unique identifier for the type WebSession_delete_Params.

View Source
const WebSession_get_Params_TypeID = 0xcd94acddf4778328

WebSession_get_Params_TypeID is the unique identifier for the type WebSession_get_Params.

View Source
const WebSession_lock_Params_TypeID = 0x9398280f1359570a

WebSession_lock_Params_TypeID is the unique identifier for the type WebSession_lock_Params.

View Source
const WebSession_mkcol_Params_TypeID = 0xf64da2416445f8b6

WebSession_mkcol_Params_TypeID is the unique identifier for the type WebSession_mkcol_Params.

View Source
const WebSession_move_Params_TypeID = 0x81f5066b5576a609

WebSession_move_Params_TypeID is the unique identifier for the type WebSession_move_Params.

View Source
const WebSession_openWebSocket_Params_TypeID = 0xc7c9c9b19d935e79

WebSession_openWebSocket_Params_TypeID is the unique identifier for the type WebSession_openWebSocket_Params.

View Source
const WebSession_openWebSocket_Results_TypeID = 0xcc561276d31b392b

WebSession_openWebSocket_Results_TypeID is the unique identifier for the type WebSession_openWebSocket_Results.

View Source
const WebSession_options_Params_TypeID = 0xd2e47e8eac54ea7e

WebSession_options_Params_TypeID is the unique identifier for the type WebSession_options_Params.

View Source
const WebSession_patch_Params_TypeID = 0xadef95edc22ca880

WebSession_patch_Params_TypeID is the unique identifier for the type WebSession_patch_Params.

View Source
const WebSession_postStreaming_Params_TypeID = 0xd26a7affce43b1c0

WebSession_postStreaming_Params_TypeID is the unique identifier for the type WebSession_postStreaming_Params.

View Source
const WebSession_postStreaming_Results_TypeID = 0xbf0e0653dc266205

WebSession_postStreaming_Results_TypeID is the unique identifier for the type WebSession_postStreaming_Results.

View Source
const WebSession_post_Params_TypeID = 0xaa6ef20a62c1cafd

WebSession_post_Params_TypeID is the unique identifier for the type WebSession_post_Params.

View Source
const WebSession_propfind_Params_TypeID = 0xca2d58de88f0b32e

WebSession_propfind_Params_TypeID is the unique identifier for the type WebSession_propfind_Params.

View Source
const WebSession_proppatch_Params_TypeID = 0x9e582e7e054088ae

WebSession_proppatch_Params_TypeID is the unique identifier for the type WebSession_proppatch_Params.

View Source
const WebSession_putStreaming_Params_TypeID = 0xa1ece076a7105939

WebSession_putStreaming_Params_TypeID is the unique identifier for the type WebSession_putStreaming_Params.

View Source
const WebSession_putStreaming_Results_TypeID = 0xc60d14bf989d4454

WebSession_putStreaming_Results_TypeID is the unique identifier for the type WebSession_putStreaming_Results.

View Source
const WebSession_put_Params_TypeID = 0xf1c587295608596e

WebSession_put_Params_TypeID is the unique identifier for the type WebSession_put_Params.

View Source
const WebSession_report_Params_TypeID = 0xc0643ea68efc60ae

WebSession_report_Params_TypeID is the unique identifier for the type WebSession_report_Params.

View Source
const WebSession_unlock_Params_TypeID = 0xd684c6a791b97dbc

WebSession_unlock_Params_TypeID is the unique identifier for the type WebSession_unlock_Params.

Variables

View Source
var (
	WebSession_Context_headerWhitelist  = capnp.TextList(capnp.MustUnmarshalRoot(x_a8cb0f2f1a756b32[0:368]).List())
	WebSession_Response_headerWhitelist = capnp.TextList(capnp.MustUnmarshalRoot(x_a8cb0f2f1a756b32[368:440]).List())
)

Constants defined in web-session.capnp.

Functions

func WebSession_Methods

func WebSession_Methods(methods []server.Method, s WebSession_Server) []server.Method

WebSession_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func WebSession_NewServer

func WebSession_NewServer(s WebSession_Server) *server.Server

WebSession_NewServer creates a new Server from an implementation of WebSession_Server.

func WebSession_RequestStream_Methods

func WebSession_RequestStream_Methods(methods []server.Method, s WebSession_RequestStream_Server) []server.Method

WebSession_RequestStream_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func WebSession_RequestStream_NewServer

func WebSession_RequestStream_NewServer(s WebSession_RequestStream_Server) *server.Server

WebSession_RequestStream_NewServer creates a new Server from an implementation of WebSession_RequestStream_Server.

func WebSession_WebSocketStream_Methods

func WebSession_WebSocketStream_Methods(methods []server.Method, s WebSession_WebSocketStream_Server) []server.Method

WebSession_WebSocketStream_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func WebSession_WebSocketStream_NewServer

func WebSession_WebSocketStream_NewServer(s WebSession_WebSocketStream_Server) *server.Server

WebSession_WebSocketStream_NewServer creates a new Server from an implementation of WebSession_WebSocketStream_Server.

Types

type HttpStatusDescriptor

type HttpStatusDescriptor capnp.Struct

func NewHttpStatusDescriptor

func NewHttpStatusDescriptor(s *capnp.Segment) (HttpStatusDescriptor, error)

func NewRootHttpStatusDescriptor

func NewRootHttpStatusDescriptor(s *capnp.Segment) (HttpStatusDescriptor, error)

func ReadRootHttpStatusDescriptor

func ReadRootHttpStatusDescriptor(msg *capnp.Message) (HttpStatusDescriptor, error)

func (HttpStatusDescriptor) DecodeFromPtr

func (HttpStatusDescriptor) EncodeAsPtr

func (s HttpStatusDescriptor) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (HttpStatusDescriptor) HasTitle

func (s HttpStatusDescriptor) HasTitle() bool

func (HttpStatusDescriptor) Id

func (HttpStatusDescriptor) IsValid

func (s HttpStatusDescriptor) IsValid() bool

func (HttpStatusDescriptor) Message

func (s HttpStatusDescriptor) Message() *capnp.Message

func (HttpStatusDescriptor) Segment

func (s HttpStatusDescriptor) Segment() *capnp.Segment

func (HttpStatusDescriptor) SetId

func (s HttpStatusDescriptor) SetId(v uint16)

func (HttpStatusDescriptor) SetTitle

func (s HttpStatusDescriptor) SetTitle(v string) error

func (HttpStatusDescriptor) String

func (s HttpStatusDescriptor) String() string

func (HttpStatusDescriptor) Title

func (s HttpStatusDescriptor) Title() (string, error)

func (HttpStatusDescriptor) TitleBytes

func (s HttpStatusDescriptor) TitleBytes() ([]byte, error)

func (HttpStatusDescriptor) ToPtr

func (s HttpStatusDescriptor) ToPtr() capnp.Ptr

type HttpStatusDescriptor_Future

type HttpStatusDescriptor_Future struct{ *capnp.Future }

HttpStatusDescriptor_Future is a wrapper for a HttpStatusDescriptor promised by a client call.

func (HttpStatusDescriptor_Future) Struct

type HttpStatusDescriptor_List

type HttpStatusDescriptor_List = capnp.StructList[HttpStatusDescriptor]

HttpStatusDescriptor_List is a list of HttpStatusDescriptor.

func NewHttpStatusDescriptor_List

func NewHttpStatusDescriptor_List(s *capnp.Segment, sz int32) (HttpStatusDescriptor_List, error)

NewHttpStatusDescriptor creates a new list of HttpStatusDescriptor.

type WebSession

type WebSession capnp.Client

func WebSession_ServerToClient

func WebSession_ServerToClient(s WebSession_Server) WebSession

WebSession_ServerToClient creates a new Client from an implementation of WebSession_Server. The caller is responsible for calling Release on the returned Client.

func (WebSession) AddRef

func (c WebSession) AddRef() WebSession

AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.

func (WebSession) DecodeFromPtr

func (WebSession) DecodeFromPtr(p capnp.Ptr) WebSession

func (WebSession) EncodeAsPtr

func (c WebSession) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession) GetFlowLimiter

func (c WebSession) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (WebSession) IsSame

func (c WebSession) IsSame(other WebSession) bool

IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.

func (WebSession) IsValid

func (c WebSession) IsValid() bool

IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.

func (WebSession) Release

func (c WebSession) Release()

Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.

Release will panic if c has already been released, but not if c is nil or resolved to null.

func (WebSession) Resolve

func (c WebSession) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (WebSession) SetFlowLimiter

func (c WebSession) SetFlowLimiter(lim fc.FlowLimiter)

Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.

func (WebSession) String

func (c WebSession) String() string

String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.

type WebSession_AcceptedEncoding

type WebSession_AcceptedEncoding capnp.Struct

func NewRootWebSession_AcceptedEncoding

func NewRootWebSession_AcceptedEncoding(s *capnp.Segment) (WebSession_AcceptedEncoding, error)

func NewWebSession_AcceptedEncoding

func NewWebSession_AcceptedEncoding(s *capnp.Segment) (WebSession_AcceptedEncoding, error)

func ReadRootWebSession_AcceptedEncoding

func ReadRootWebSession_AcceptedEncoding(msg *capnp.Message) (WebSession_AcceptedEncoding, error)

func (WebSession_AcceptedEncoding) ContentCoding

func (s WebSession_AcceptedEncoding) ContentCoding() (string, error)

func (WebSession_AcceptedEncoding) ContentCodingBytes

func (s WebSession_AcceptedEncoding) ContentCodingBytes() ([]byte, error)

func (WebSession_AcceptedEncoding) DecodeFromPtr

func (WebSession_AcceptedEncoding) EncodeAsPtr

func (s WebSession_AcceptedEncoding) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_AcceptedEncoding) HasContentCoding

func (s WebSession_AcceptedEncoding) HasContentCoding() bool

func (WebSession_AcceptedEncoding) IsValid

func (s WebSession_AcceptedEncoding) IsValid() bool

func (WebSession_AcceptedEncoding) Message

func (WebSession_AcceptedEncoding) QValue

func (WebSession_AcceptedEncoding) Segment

func (WebSession_AcceptedEncoding) SetContentCoding

func (s WebSession_AcceptedEncoding) SetContentCoding(v string) error

func (WebSession_AcceptedEncoding) SetQValue

func (s WebSession_AcceptedEncoding) SetQValue(v float32)

func (WebSession_AcceptedEncoding) String

func (WebSession_AcceptedEncoding) ToPtr

type WebSession_AcceptedEncoding_Future

type WebSession_AcceptedEncoding_Future struct{ *capnp.Future }

WebSession_AcceptedEncoding_Future is a wrapper for a WebSession_AcceptedEncoding promised by a client call.

func (WebSession_AcceptedEncoding_Future) Struct

type WebSession_AcceptedEncoding_List

type WebSession_AcceptedEncoding_List = capnp.StructList[WebSession_AcceptedEncoding]

WebSession_AcceptedEncoding_List is a list of WebSession_AcceptedEncoding.

func NewWebSession_AcceptedEncoding_List

func NewWebSession_AcceptedEncoding_List(s *capnp.Segment, sz int32) (WebSession_AcceptedEncoding_List, error)

NewWebSession_AcceptedEncoding creates a new list of WebSession_AcceptedEncoding.

type WebSession_AcceptedType

type WebSession_AcceptedType capnp.Struct

func NewRootWebSession_AcceptedType

func NewRootWebSession_AcceptedType(s *capnp.Segment) (WebSession_AcceptedType, error)

func NewWebSession_AcceptedType

func NewWebSession_AcceptedType(s *capnp.Segment) (WebSession_AcceptedType, error)

func ReadRootWebSession_AcceptedType

func ReadRootWebSession_AcceptedType(msg *capnp.Message) (WebSession_AcceptedType, error)

func (WebSession_AcceptedType) DecodeFromPtr

func (WebSession_AcceptedType) EncodeAsPtr

func (s WebSession_AcceptedType) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_AcceptedType) HasMimeType

func (s WebSession_AcceptedType) HasMimeType() bool

func (WebSession_AcceptedType) IsValid

func (s WebSession_AcceptedType) IsValid() bool

func (WebSession_AcceptedType) Message

func (s WebSession_AcceptedType) Message() *capnp.Message

func (WebSession_AcceptedType) MimeType

func (s WebSession_AcceptedType) MimeType() (string, error)

func (WebSession_AcceptedType) MimeTypeBytes

func (s WebSession_AcceptedType) MimeTypeBytes() ([]byte, error)

func (WebSession_AcceptedType) QValue

func (s WebSession_AcceptedType) QValue() float32

func (WebSession_AcceptedType) Segment

func (s WebSession_AcceptedType) Segment() *capnp.Segment

func (WebSession_AcceptedType) SetMimeType

func (s WebSession_AcceptedType) SetMimeType(v string) error

func (WebSession_AcceptedType) SetQValue

func (s WebSession_AcceptedType) SetQValue(v float32)

func (WebSession_AcceptedType) String

func (s WebSession_AcceptedType) String() string

func (WebSession_AcceptedType) ToPtr

func (s WebSession_AcceptedType) ToPtr() capnp.Ptr

type WebSession_AcceptedType_Future

type WebSession_AcceptedType_Future struct{ *capnp.Future }

WebSession_AcceptedType_Future is a wrapper for a WebSession_AcceptedType promised by a client call.

func (WebSession_AcceptedType_Future) Struct

type WebSession_AcceptedType_List

type WebSession_AcceptedType_List = capnp.StructList[WebSession_AcceptedType]

WebSession_AcceptedType_List is a list of WebSession_AcceptedType.

func NewWebSession_AcceptedType_List

func NewWebSession_AcceptedType_List(s *capnp.Segment, sz int32) (WebSession_AcceptedType_List, error)

NewWebSession_AcceptedType creates a new list of WebSession_AcceptedType.

type WebSession_CachePolicy

type WebSession_CachePolicy capnp.Struct

func NewRootWebSession_CachePolicy

func NewRootWebSession_CachePolicy(s *capnp.Segment) (WebSession_CachePolicy, error)

func NewWebSession_CachePolicy

func NewWebSession_CachePolicy(s *capnp.Segment) (WebSession_CachePolicy, error)

func ReadRootWebSession_CachePolicy

func ReadRootWebSession_CachePolicy(msg *capnp.Message) (WebSession_CachePolicy, error)

func (WebSession_CachePolicy) DecodeFromPtr

func (WebSession_CachePolicy) EncodeAsPtr

func (s WebSession_CachePolicy) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_CachePolicy) IsValid

func (s WebSession_CachePolicy) IsValid() bool

func (WebSession_CachePolicy) Message

func (s WebSession_CachePolicy) Message() *capnp.Message

func (WebSession_CachePolicy) Permanent

func (WebSession_CachePolicy) Segment

func (s WebSession_CachePolicy) Segment() *capnp.Segment

func (WebSession_CachePolicy) SetPermanent

func (WebSession_CachePolicy) SetVariesOnAccept

func (s WebSession_CachePolicy) SetVariesOnAccept(v bool)

func (WebSession_CachePolicy) SetVariesOnCookie

func (s WebSession_CachePolicy) SetVariesOnCookie(v bool)

func (WebSession_CachePolicy) SetWithCheck

func (WebSession_CachePolicy) String

func (s WebSession_CachePolicy) String() string

func (WebSession_CachePolicy) ToPtr

func (s WebSession_CachePolicy) ToPtr() capnp.Ptr

func (WebSession_CachePolicy) VariesOnAccept

func (s WebSession_CachePolicy) VariesOnAccept() bool

func (WebSession_CachePolicy) VariesOnCookie

func (s WebSession_CachePolicy) VariesOnCookie() bool

func (WebSession_CachePolicy) WithCheck

type WebSession_CachePolicy_Future

type WebSession_CachePolicy_Future struct{ *capnp.Future }

WebSession_CachePolicy_Future is a wrapper for a WebSession_CachePolicy promised by a client call.

func (WebSession_CachePolicy_Future) Struct

type WebSession_CachePolicy_List

type WebSession_CachePolicy_List = capnp.StructList[WebSession_CachePolicy]

WebSession_CachePolicy_List is a list of WebSession_CachePolicy.

func NewWebSession_CachePolicy_List

func NewWebSession_CachePolicy_List(s *capnp.Segment, sz int32) (WebSession_CachePolicy_List, error)

NewWebSession_CachePolicy creates a new list of WebSession_CachePolicy.

type WebSession_CachePolicy_Scope

type WebSession_CachePolicy_Scope uint16
const (
	WebSession_CachePolicy_Scope_none          WebSession_CachePolicy_Scope = 0
	WebSession_CachePolicy_Scope_perSession    WebSession_CachePolicy_Scope = 1
	WebSession_CachePolicy_Scope_perUser       WebSession_CachePolicy_Scope = 2
	WebSession_CachePolicy_Scope_perAppVersion WebSession_CachePolicy_Scope = 3
	WebSession_CachePolicy_Scope_universal     WebSession_CachePolicy_Scope = 4
)

Values of WebSession_CachePolicy_Scope.

func WebSession_CachePolicy_ScopeFromString

func WebSession_CachePolicy_ScopeFromString(c string) WebSession_CachePolicy_Scope

WebSession_CachePolicy_ScopeFromString returns the enum value with a name, or the zero value if there's no such value.

func (WebSession_CachePolicy_Scope) String

String returns the enum's constant name.

type WebSession_CachePolicy_Scope_List

type WebSession_CachePolicy_Scope_List = capnp.EnumList[WebSession_CachePolicy_Scope]

func NewWebSession_CachePolicy_Scope_List

func NewWebSession_CachePolicy_Scope_List(s *capnp.Segment, sz int32) (WebSession_CachePolicy_Scope_List, error)

type WebSession_Context

type WebSession_Context capnp.Struct

func NewRootWebSession_Context

func NewRootWebSession_Context(s *capnp.Segment) (WebSession_Context, error)

func NewWebSession_Context

func NewWebSession_Context(s *capnp.Segment) (WebSession_Context, error)

func ReadRootWebSession_Context

func ReadRootWebSession_Context(msg *capnp.Message) (WebSession_Context, error)

func (WebSession_Context) Accept

func (WebSession_Context) AcceptEncoding

func (WebSession_Context) AdditionalHeaders

func (s WebSession_Context) AdditionalHeaders() (WebSession_Context_Header_List, error)

func (WebSession_Context) Cookies

func (s WebSession_Context) Cookies() (util.KeyValue_List, error)

func (WebSession_Context) DecodeFromPtr

func (WebSession_Context) ETagPrecondition

func (WebSession_Context) EncodeAsPtr

func (s WebSession_Context) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_Context) HasAccept

func (s WebSession_Context) HasAccept() bool

func (WebSession_Context) HasAcceptEncoding

func (s WebSession_Context) HasAcceptEncoding() bool

func (WebSession_Context) HasAdditionalHeaders

func (s WebSession_Context) HasAdditionalHeaders() bool

func (WebSession_Context) HasCookies

func (s WebSession_Context) HasCookies() bool

func (WebSession_Context) HasResponseStream

func (s WebSession_Context) HasResponseStream() bool

func (WebSession_Context) IsValid

func (s WebSession_Context) IsValid() bool

func (WebSession_Context) Message

func (s WebSession_Context) Message() *capnp.Message

func (WebSession_Context) NewAccept

NewAccept sets the accept field to a newly allocated WebSession_AcceptedType_List, preferring placement in s's segment.

func (WebSession_Context) NewAcceptEncoding

NewAcceptEncoding sets the acceptEncoding field to a newly allocated WebSession_AcceptedEncoding_List, preferring placement in s's segment.

func (WebSession_Context) NewAdditionalHeaders

func (s WebSession_Context) NewAdditionalHeaders(n int32) (WebSession_Context_Header_List, error)

NewAdditionalHeaders sets the additionalHeaders field to a newly allocated WebSession_Context_Header_List, preferring placement in s's segment.

func (WebSession_Context) NewCookies

func (s WebSession_Context) NewCookies(n int32) (util.KeyValue_List, error)

NewCookies sets the cookies field to a newly allocated util.KeyValue_List, preferring placement in s's segment.

func (WebSession_Context) ResponseStream

func (s WebSession_Context) ResponseStream() util.ByteStream

func (WebSession_Context) Segment

func (s WebSession_Context) Segment() *capnp.Segment

func (WebSession_Context) SetAccept

func (WebSession_Context) SetAcceptEncoding

func (WebSession_Context) SetAdditionalHeaders

func (s WebSession_Context) SetAdditionalHeaders(v WebSession_Context_Header_List) error

func (WebSession_Context) SetCookies

func (s WebSession_Context) SetCookies(v util.KeyValue_List) error

func (WebSession_Context) SetResponseStream

func (s WebSession_Context) SetResponseStream(v util.ByteStream) error

func (WebSession_Context) String

func (s WebSession_Context) String() string

func (WebSession_Context) ToPtr

func (s WebSession_Context) ToPtr() capnp.Ptr

type WebSession_Context_Future

type WebSession_Context_Future struct{ *capnp.Future }

WebSession_Context_Future is a wrapper for a WebSession_Context promised by a client call.

func (WebSession_Context_Future) ETagPrecondition

func (WebSession_Context_Future) ResponseStream

func (p WebSession_Context_Future) ResponseStream() util.ByteStream

func (WebSession_Context_Future) Struct

type WebSession_Context_Header

type WebSession_Context_Header capnp.Struct

func NewRootWebSession_Context_Header

func NewRootWebSession_Context_Header(s *capnp.Segment) (WebSession_Context_Header, error)

func NewWebSession_Context_Header

func NewWebSession_Context_Header(s *capnp.Segment) (WebSession_Context_Header, error)

func ReadRootWebSession_Context_Header

func ReadRootWebSession_Context_Header(msg *capnp.Message) (WebSession_Context_Header, error)

func (WebSession_Context_Header) DecodeFromPtr

func (WebSession_Context_Header) EncodeAsPtr

func (s WebSession_Context_Header) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_Context_Header) HasName

func (s WebSession_Context_Header) HasName() bool

func (WebSession_Context_Header) HasValue

func (s WebSession_Context_Header) HasValue() bool

func (WebSession_Context_Header) IsValid

func (s WebSession_Context_Header) IsValid() bool

func (WebSession_Context_Header) Message

func (WebSession_Context_Header) Name

func (WebSession_Context_Header) NameBytes

func (s WebSession_Context_Header) NameBytes() ([]byte, error)

func (WebSession_Context_Header) Segment

func (WebSession_Context_Header) SetName

func (s WebSession_Context_Header) SetName(v string) error

func (WebSession_Context_Header) SetValue

func (s WebSession_Context_Header) SetValue(v string) error

func (WebSession_Context_Header) String

func (s WebSession_Context_Header) String() string

func (WebSession_Context_Header) ToPtr

func (WebSession_Context_Header) Value

func (s WebSession_Context_Header) Value() (string, error)

func (WebSession_Context_Header) ValueBytes

func (s WebSession_Context_Header) ValueBytes() ([]byte, error)

type WebSession_Context_Header_Future

type WebSession_Context_Header_Future struct{ *capnp.Future }

WebSession_Context_Header_Future is a wrapper for a WebSession_Context_Header promised by a client call.

func (WebSession_Context_Header_Future) Struct

type WebSession_Context_Header_List

type WebSession_Context_Header_List = capnp.StructList[WebSession_Context_Header]

WebSession_Context_Header_List is a list of WebSession_Context_Header.

func NewWebSession_Context_Header_List

func NewWebSession_Context_Header_List(s *capnp.Segment, sz int32) (WebSession_Context_Header_List, error)

NewWebSession_Context_Header creates a new list of WebSession_Context_Header.

type WebSession_Context_List

type WebSession_Context_List = capnp.StructList[WebSession_Context]

WebSession_Context_List is a list of WebSession_Context.

func NewWebSession_Context_List

func NewWebSession_Context_List(s *capnp.Segment, sz int32) (WebSession_Context_List, error)

NewWebSession_Context creates a new list of WebSession_Context.

type WebSession_Context_eTagPrecondition

type WebSession_Context_eTagPrecondition WebSession_Context

func (WebSession_Context_eTagPrecondition) HasMatchesNoneOf

func (s WebSession_Context_eTagPrecondition) HasMatchesNoneOf() bool

func (WebSession_Context_eTagPrecondition) HasMatchesOneOf

func (s WebSession_Context_eTagPrecondition) HasMatchesOneOf() bool

func (WebSession_Context_eTagPrecondition) IsValid

func (WebSession_Context_eTagPrecondition) MatchesNoneOf

func (WebSession_Context_eTagPrecondition) MatchesOneOf

func (WebSession_Context_eTagPrecondition) Message

func (WebSession_Context_eTagPrecondition) NewMatchesNoneOf

NewMatchesNoneOf sets the matchesNoneOf field to a newly allocated WebSession_ETag_List, preferring placement in s's segment.

func (WebSession_Context_eTagPrecondition) NewMatchesOneOf

NewMatchesOneOf sets the matchesOneOf field to a newly allocated WebSession_ETag_List, preferring placement in s's segment.

func (WebSession_Context_eTagPrecondition) Segment

func (WebSession_Context_eTagPrecondition) SetDoesntExist

func (s WebSession_Context_eTagPrecondition) SetDoesntExist()

func (WebSession_Context_eTagPrecondition) SetExists

func (WebSession_Context_eTagPrecondition) SetMatchesNoneOf

func (WebSession_Context_eTagPrecondition) SetMatchesOneOf

func (WebSession_Context_eTagPrecondition) SetNone

func (WebSession_Context_eTagPrecondition) Which

type WebSession_Context_eTagPrecondition_Future

type WebSession_Context_eTagPrecondition_Future struct{ *capnp.Future }

WebSession_Context_eTagPrecondition_Future is a wrapper for a WebSession_Context_eTagPrecondition promised by a client call.

func (WebSession_Context_eTagPrecondition_Future) Struct

type WebSession_Context_eTagPrecondition_Which

type WebSession_Context_eTagPrecondition_Which uint16
const (
	WebSession_Context_eTagPrecondition_Which_none          WebSession_Context_eTagPrecondition_Which = 0
	WebSession_Context_eTagPrecondition_Which_exists        WebSession_Context_eTagPrecondition_Which = 1
	WebSession_Context_eTagPrecondition_Which_doesntExist   WebSession_Context_eTagPrecondition_Which = 4
	WebSession_Context_eTagPrecondition_Which_matchesOneOf  WebSession_Context_eTagPrecondition_Which = 2
	WebSession_Context_eTagPrecondition_Which_matchesNoneOf WebSession_Context_eTagPrecondition_Which = 3
)

func (WebSession_Context_eTagPrecondition_Which) String

type WebSession_Cookie capnp.Struct
func NewRootWebSession_Cookie(s *capnp.Segment) (WebSession_Cookie, error)
func NewWebSession_Cookie(s *capnp.Segment) (WebSession_Cookie, error)
func ReadRootWebSession_Cookie(msg *capnp.Message) (WebSession_Cookie, error)

func (WebSession_Cookie) DecodeFromPtr

func (WebSession_Cookie) DecodeFromPtr(p capnp.Ptr) WebSession_Cookie

func (WebSession_Cookie) EncodeAsPtr

func (s WebSession_Cookie) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_Cookie) Expires

func (WebSession_Cookie) HasName

func (s WebSession_Cookie) HasName() bool

func (WebSession_Cookie) HasPath

func (s WebSession_Cookie) HasPath() bool

func (WebSession_Cookie) HasValue

func (s WebSession_Cookie) HasValue() bool

func (WebSession_Cookie) HttpOnly

func (s WebSession_Cookie) HttpOnly() bool

func (WebSession_Cookie) IsValid

func (s WebSession_Cookie) IsValid() bool

func (WebSession_Cookie) Message

func (s WebSession_Cookie) Message() *capnp.Message

func (WebSession_Cookie) Name

func (s WebSession_Cookie) Name() (string, error)

func (WebSession_Cookie) NameBytes

func (s WebSession_Cookie) NameBytes() ([]byte, error)

func (WebSession_Cookie) Path

func (s WebSession_Cookie) Path() (string, error)

func (WebSession_Cookie) PathBytes

func (s WebSession_Cookie) PathBytes() ([]byte, error)

func (WebSession_Cookie) Segment

func (s WebSession_Cookie) Segment() *capnp.Segment

func (WebSession_Cookie) SetHttpOnly

func (s WebSession_Cookie) SetHttpOnly(v bool)

func (WebSession_Cookie) SetName

func (s WebSession_Cookie) SetName(v string) error

func (WebSession_Cookie) SetPath

func (s WebSession_Cookie) SetPath(v string) error

func (WebSession_Cookie) SetValue

func (s WebSession_Cookie) SetValue(v string) error

func (WebSession_Cookie) String

func (s WebSession_Cookie) String() string

func (WebSession_Cookie) ToPtr

func (s WebSession_Cookie) ToPtr() capnp.Ptr

func (WebSession_Cookie) Value

func (s WebSession_Cookie) Value() (string, error)

func (WebSession_Cookie) ValueBytes

func (s WebSession_Cookie) ValueBytes() ([]byte, error)
type WebSession_Cookie_Future struct{ *capnp.Future }

WebSession_Cookie_Future is a wrapper for a WebSession_Cookie promised by a client call.

type WebSession_Cookie_List = capnp.StructList[WebSession_Cookie]

WebSession_Cookie_List is a list of WebSession_Cookie.

func NewWebSession_Cookie_List(s *capnp.Segment, sz int32) (WebSession_Cookie_List, error)

NewWebSession_Cookie creates a new list of WebSession_Cookie.

type WebSession_Cookie_expires WebSession_Cookie
func (s WebSession_Cookie_expires) Absolute() int64
func (s WebSession_Cookie_expires) IsValid() bool
func (s WebSession_Cookie_expires) Relative() uint64
func (s WebSession_Cookie_expires) SetAbsolute(v int64)
func (s WebSession_Cookie_expires) SetNone()
func (s WebSession_Cookie_expires) SetRelative(v uint64)
type WebSession_Cookie_expires_Future struct{ *capnp.Future }

WebSession_Cookie_expires_Future is a wrapper for a WebSession_Cookie_expires promised by a client call.

type WebSession_Cookie_expires_Which uint16
const (
	WebSession_Cookie_expires_Which_none     WebSession_Cookie_expires_Which = 0
	WebSession_Cookie_expires_Which_absolute WebSession_Cookie_expires_Which = 1
	WebSession_Cookie_expires_Which_relative WebSession_Cookie_expires_Which = 2
)

type WebSession_ETag

type WebSession_ETag capnp.Struct

func NewRootWebSession_ETag

func NewRootWebSession_ETag(s *capnp.Segment) (WebSession_ETag, error)

func NewWebSession_ETag

func NewWebSession_ETag(s *capnp.Segment) (WebSession_ETag, error)

func ReadRootWebSession_ETag

func ReadRootWebSession_ETag(msg *capnp.Message) (WebSession_ETag, error)

func (WebSession_ETag) DecodeFromPtr

func (WebSession_ETag) DecodeFromPtr(p capnp.Ptr) WebSession_ETag

func (WebSession_ETag) EncodeAsPtr

func (s WebSession_ETag) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_ETag) HasValue

func (s WebSession_ETag) HasValue() bool

func (WebSession_ETag) IsValid

func (s WebSession_ETag) IsValid() bool

func (WebSession_ETag) Message

func (s WebSession_ETag) Message() *capnp.Message

func (WebSession_ETag) Segment

func (s WebSession_ETag) Segment() *capnp.Segment

func (WebSession_ETag) SetValue

func (s WebSession_ETag) SetValue(v string) error

func (WebSession_ETag) SetWeak

func (s WebSession_ETag) SetWeak(v bool)

func (WebSession_ETag) String

func (s WebSession_ETag) String() string

func (WebSession_ETag) ToPtr

func (s WebSession_ETag) ToPtr() capnp.Ptr

func (WebSession_ETag) Value

func (s WebSession_ETag) Value() (string, error)

func (WebSession_ETag) ValueBytes

func (s WebSession_ETag) ValueBytes() ([]byte, error)

func (WebSession_ETag) Weak

func (s WebSession_ETag) Weak() bool

type WebSession_ETag_Future

type WebSession_ETag_Future struct{ *capnp.Future }

WebSession_ETag_Future is a wrapper for a WebSession_ETag promised by a client call.

func (WebSession_ETag_Future) Struct

type WebSession_ETag_List

type WebSession_ETag_List = capnp.StructList[WebSession_ETag]

WebSession_ETag_List is a list of WebSession_ETag.

func NewWebSession_ETag_List

func NewWebSession_ETag_List(s *capnp.Segment, sz int32) (WebSession_ETag_List, error)

NewWebSession_ETag creates a new list of WebSession_ETag.

type WebSession_List

type WebSession_List = capnp.CapList[WebSession]

WebSession_List is a list of WebSession.

func NewWebSession_List

func NewWebSession_List(s *capnp.Segment, sz int32) (WebSession_List, error)

NewWebSession creates a new list of WebSession.

type WebSession_Options

type WebSession_Options capnp.Struct

func NewRootWebSession_Options

func NewRootWebSession_Options(s *capnp.Segment) (WebSession_Options, error)

func NewWebSession_Options

func NewWebSession_Options(s *capnp.Segment) (WebSession_Options, error)

func ReadRootWebSession_Options

func ReadRootWebSession_Options(msg *capnp.Message) (WebSession_Options, error)

func (WebSession_Options) DavClass1

func (s WebSession_Options) DavClass1() bool

func (WebSession_Options) DavClass2

func (s WebSession_Options) DavClass2() bool

func (WebSession_Options) DavClass3

func (s WebSession_Options) DavClass3() bool

func (WebSession_Options) DavExtensions

func (s WebSession_Options) DavExtensions() (capnp.TextList, error)

func (WebSession_Options) DecodeFromPtr

func (WebSession_Options) EncodeAsPtr

func (s WebSession_Options) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_Options) HasDavExtensions

func (s WebSession_Options) HasDavExtensions() bool

func (WebSession_Options) IsValid

func (s WebSession_Options) IsValid() bool

func (WebSession_Options) Message

func (s WebSession_Options) Message() *capnp.Message

func (WebSession_Options) NewDavExtensions

func (s WebSession_Options) NewDavExtensions(n int32) (capnp.TextList, error)

NewDavExtensions sets the davExtensions field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (WebSession_Options) Segment

func (s WebSession_Options) Segment() *capnp.Segment

func (WebSession_Options) SetDavClass1

func (s WebSession_Options) SetDavClass1(v bool)

func (WebSession_Options) SetDavClass2

func (s WebSession_Options) SetDavClass2(v bool)

func (WebSession_Options) SetDavClass3

func (s WebSession_Options) SetDavClass3(v bool)

func (WebSession_Options) SetDavExtensions

func (s WebSession_Options) SetDavExtensions(v capnp.TextList) error

func (WebSession_Options) String

func (s WebSession_Options) String() string

func (WebSession_Options) ToPtr

func (s WebSession_Options) ToPtr() capnp.Ptr

type WebSession_Options_Future

type WebSession_Options_Future struct{ *capnp.Future }

WebSession_Options_Future is a wrapper for a WebSession_Options promised by a client call.

func (WebSession_Options_Future) Struct

type WebSession_Options_List

type WebSession_Options_List = capnp.StructList[WebSession_Options]

WebSession_Options_List is a list of WebSession_Options.

func NewWebSession_Options_List

func NewWebSession_Options_List(s *capnp.Segment, sz int32) (WebSession_Options_List, error)

NewWebSession_Options creates a new list of WebSession_Options.

type WebSession_Params

type WebSession_Params capnp.Struct

func NewRootWebSession_Params

func NewRootWebSession_Params(s *capnp.Segment) (WebSession_Params, error)

func NewWebSession_Params

func NewWebSession_Params(s *capnp.Segment) (WebSession_Params, error)

func ReadRootWebSession_Params

func ReadRootWebSession_Params(msg *capnp.Message) (WebSession_Params, error)

func (WebSession_Params) AcceptableLanguages

func (s WebSession_Params) AcceptableLanguages() (capnp.TextList, error)

func (WebSession_Params) BasePath

func (s WebSession_Params) BasePath() (string, error)

func (WebSession_Params) BasePathBytes

func (s WebSession_Params) BasePathBytes() ([]byte, error)

func (WebSession_Params) DecodeFromPtr

func (WebSession_Params) DecodeFromPtr(p capnp.Ptr) WebSession_Params

func (WebSession_Params) EncodeAsPtr

func (s WebSession_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_Params) HasAcceptableLanguages

func (s WebSession_Params) HasAcceptableLanguages() bool

func (WebSession_Params) HasBasePath

func (s WebSession_Params) HasBasePath() bool

func (WebSession_Params) HasUserAgent

func (s WebSession_Params) HasUserAgent() bool

func (WebSession_Params) IsValid

func (s WebSession_Params) IsValid() bool

func (WebSession_Params) Message

func (s WebSession_Params) Message() *capnp.Message

func (WebSession_Params) NewAcceptableLanguages

func (s WebSession_Params) NewAcceptableLanguages(n int32) (capnp.TextList, error)

NewAcceptableLanguages sets the acceptableLanguages field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (WebSession_Params) Segment

func (s WebSession_Params) Segment() *capnp.Segment

func (WebSession_Params) SetAcceptableLanguages

func (s WebSession_Params) SetAcceptableLanguages(v capnp.TextList) error

func (WebSession_Params) SetBasePath

func (s WebSession_Params) SetBasePath(v string) error

func (WebSession_Params) SetUserAgent

func (s WebSession_Params) SetUserAgent(v string) error

func (WebSession_Params) String

func (s WebSession_Params) String() string

func (WebSession_Params) ToPtr

func (s WebSession_Params) ToPtr() capnp.Ptr

func (WebSession_Params) UserAgent

func (s WebSession_Params) UserAgent() (string, error)

func (WebSession_Params) UserAgentBytes

func (s WebSession_Params) UserAgentBytes() ([]byte, error)

type WebSession_Params_Future

type WebSession_Params_Future struct{ *capnp.Future }

WebSession_Params_Future is a wrapper for a WebSession_Params promised by a client call.

func (WebSession_Params_Future) Struct

type WebSession_Params_List

type WebSession_Params_List = capnp.StructList[WebSession_Params]

WebSession_Params_List is a list of WebSession_Params.

func NewWebSession_Params_List

func NewWebSession_Params_List(s *capnp.Segment, sz int32) (WebSession_Params_List, error)

NewWebSession_Params creates a new list of WebSession_Params.

type WebSession_PostContent

type WebSession_PostContent capnp.Struct

func NewRootWebSession_PostContent

func NewRootWebSession_PostContent(s *capnp.Segment) (WebSession_PostContent, error)

func NewWebSession_PostContent

func NewWebSession_PostContent(s *capnp.Segment) (WebSession_PostContent, error)

func ReadRootWebSession_PostContent

func ReadRootWebSession_PostContent(msg *capnp.Message) (WebSession_PostContent, error)

func (WebSession_PostContent) Content

func (s WebSession_PostContent) Content() ([]byte, error)

func (WebSession_PostContent) DecodeFromPtr

func (WebSession_PostContent) EncodeAsPtr

func (s WebSession_PostContent) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_PostContent) Encoding

func (s WebSession_PostContent) Encoding() (string, error)

func (WebSession_PostContent) EncodingBytes

func (s WebSession_PostContent) EncodingBytes() ([]byte, error)

func (WebSession_PostContent) HasContent

func (s WebSession_PostContent) HasContent() bool

func (WebSession_PostContent) HasEncoding

func (s WebSession_PostContent) HasEncoding() bool

func (WebSession_PostContent) HasMimeType

func (s WebSession_PostContent) HasMimeType() bool

func (WebSession_PostContent) IsValid

func (s WebSession_PostContent) IsValid() bool

func (WebSession_PostContent) Message

func (s WebSession_PostContent) Message() *capnp.Message

func (WebSession_PostContent) MimeType

func (s WebSession_PostContent) MimeType() (string, error)

func (WebSession_PostContent) MimeTypeBytes

func (s WebSession_PostContent) MimeTypeBytes() ([]byte, error)

func (WebSession_PostContent) Segment

func (s WebSession_PostContent) Segment() *capnp.Segment

func (WebSession_PostContent) SetContent

func (s WebSession_PostContent) SetContent(v []byte) error

func (WebSession_PostContent) SetEncoding

func (s WebSession_PostContent) SetEncoding(v string) error

func (WebSession_PostContent) SetMimeType

func (s WebSession_PostContent) SetMimeType(v string) error

func (WebSession_PostContent) String

func (s WebSession_PostContent) String() string

func (WebSession_PostContent) ToPtr

func (s WebSession_PostContent) ToPtr() capnp.Ptr

type WebSession_PostContent_Future

type WebSession_PostContent_Future struct{ *capnp.Future }

WebSession_PostContent_Future is a wrapper for a WebSession_PostContent promised by a client call.

func (WebSession_PostContent_Future) Struct

type WebSession_PostContent_List

type WebSession_PostContent_List = capnp.StructList[WebSession_PostContent]

WebSession_PostContent_List is a list of WebSession_PostContent.

func NewWebSession_PostContent_List

func NewWebSession_PostContent_List(s *capnp.Segment, sz int32) (WebSession_PostContent_List, error)

NewWebSession_PostContent creates a new list of WebSession_PostContent.

type WebSession_PropfindDepth

type WebSession_PropfindDepth uint16
const (
	WebSession_PropfindDepth_infinity WebSession_PropfindDepth = 0
	WebSession_PropfindDepth_zero     WebSession_PropfindDepth = 1
	WebSession_PropfindDepth_one      WebSession_PropfindDepth = 2
)

Values of WebSession_PropfindDepth.

func WebSession_PropfindDepthFromString

func WebSession_PropfindDepthFromString(c string) WebSession_PropfindDepth

WebSession_PropfindDepthFromString returns the enum value with a name, or the zero value if there's no such value.

func (WebSession_PropfindDepth) String

func (c WebSession_PropfindDepth) String() string

String returns the enum's constant name.

type WebSession_PropfindDepth_List

type WebSession_PropfindDepth_List = capnp.EnumList[WebSession_PropfindDepth]

func NewWebSession_PropfindDepth_List

func NewWebSession_PropfindDepth_List(s *capnp.Segment, sz int32) (WebSession_PropfindDepth_List, error)

type WebSession_PutContent

type WebSession_PutContent capnp.Struct

func NewRootWebSession_PutContent

func NewRootWebSession_PutContent(s *capnp.Segment) (WebSession_PutContent, error)

func NewWebSession_PutContent

func NewWebSession_PutContent(s *capnp.Segment) (WebSession_PutContent, error)

func ReadRootWebSession_PutContent

func ReadRootWebSession_PutContent(msg *capnp.Message) (WebSession_PutContent, error)

func (WebSession_PutContent) Content

func (s WebSession_PutContent) Content() ([]byte, error)

func (WebSession_PutContent) DecodeFromPtr

func (WebSession_PutContent) EncodeAsPtr

func (s WebSession_PutContent) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_PutContent) Encoding

func (s WebSession_PutContent) Encoding() (string, error)

func (WebSession_PutContent) EncodingBytes

func (s WebSession_PutContent) EncodingBytes() ([]byte, error)

func (WebSession_PutContent) HasContent

func (s WebSession_PutContent) HasContent() bool

func (WebSession_PutContent) HasEncoding

func (s WebSession_PutContent) HasEncoding() bool

func (WebSession_PutContent) HasMimeType

func (s WebSession_PutContent) HasMimeType() bool

func (WebSession_PutContent) IsValid

func (s WebSession_PutContent) IsValid() bool

func (WebSession_PutContent) Message

func (s WebSession_PutContent) Message() *capnp.Message

func (WebSession_PutContent) MimeType

func (s WebSession_PutContent) MimeType() (string, error)

func (WebSession_PutContent) MimeTypeBytes

func (s WebSession_PutContent) MimeTypeBytes() ([]byte, error)

func (WebSession_PutContent) Segment

func (s WebSession_PutContent) Segment() *capnp.Segment

func (WebSession_PutContent) SetContent

func (s WebSession_PutContent) SetContent(v []byte) error

func (WebSession_PutContent) SetEncoding

func (s WebSession_PutContent) SetEncoding(v string) error

func (WebSession_PutContent) SetMimeType

func (s WebSession_PutContent) SetMimeType(v string) error

func (WebSession_PutContent) String

func (s WebSession_PutContent) String() string

func (WebSession_PutContent) ToPtr

func (s WebSession_PutContent) ToPtr() capnp.Ptr

type WebSession_PutContent_Future

type WebSession_PutContent_Future struct{ *capnp.Future }

WebSession_PutContent_Future is a wrapper for a WebSession_PutContent promised by a client call.

func (WebSession_PutContent_Future) Struct

type WebSession_PutContent_List

type WebSession_PutContent_List = capnp.StructList[WebSession_PutContent]

WebSession_PutContent_List is a list of WebSession_PutContent.

func NewWebSession_PutContent_List

func NewWebSession_PutContent_List(s *capnp.Segment, sz int32) (WebSession_PutContent_List, error)

NewWebSession_PutContent creates a new list of WebSession_PutContent.

type WebSession_RequestStream

type WebSession_RequestStream capnp.Client

func WebSession_RequestStream_ServerToClient

func WebSession_RequestStream_ServerToClient(s WebSession_RequestStream_Server) WebSession_RequestStream

WebSession_RequestStream_ServerToClient creates a new Client from an implementation of WebSession_RequestStream_Server. The caller is responsible for calling Release on the returned Client.

func (WebSession_RequestStream) AddRef

AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.

func (WebSession_RequestStream) DecodeFromPtr

func (WebSession_RequestStream) EncodeAsPtr

func (c WebSession_RequestStream) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_RequestStream) GetFlowLimiter

func (c WebSession_RequestStream) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (WebSession_RequestStream) IsSame

IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.

func (WebSession_RequestStream) IsValid

func (c WebSession_RequestStream) IsValid() bool

IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.

func (WebSession_RequestStream) Release

func (c WebSession_RequestStream) Release()

Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.

Release will panic if c has already been released, but not if c is nil or resolved to null.

func (WebSession_RequestStream) Resolve

Resolve blocks until the capability is fully resolved or the Context expires.

func (WebSession_RequestStream) SetFlowLimiter

func (c WebSession_RequestStream) SetFlowLimiter(lim fc.FlowLimiter)

Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.

func (WebSession_RequestStream) String

func (c WebSession_RequestStream) String() string

String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.

func (WebSession_RequestStream) Write

type WebSession_RequestStream_List

type WebSession_RequestStream_List = capnp.CapList[WebSession_RequestStream]

WebSession_RequestStream_List is a list of WebSession_RequestStream.

func NewWebSession_RequestStream_List

func NewWebSession_RequestStream_List(s *capnp.Segment, sz int32) (WebSession_RequestStream_List, error)

NewWebSession_RequestStream creates a new list of WebSession_RequestStream.

type WebSession_RequestStream_getResponse

type WebSession_RequestStream_getResponse struct {
	*server.Call
}

WebSession_RequestStream_getResponse holds the state for a server call to WebSession_RequestStream.getResponse. See server.Call for documentation.

func (WebSession_RequestStream_getResponse) AllocResults

AllocResults allocates the results struct.

func (WebSession_RequestStream_getResponse) Args

Args returns the call's arguments.

type WebSession_RequestStream_getResponse_Params

type WebSession_RequestStream_getResponse_Params capnp.Struct

func NewRootWebSession_RequestStream_getResponse_Params

func NewRootWebSession_RequestStream_getResponse_Params(s *capnp.Segment) (WebSession_RequestStream_getResponse_Params, error)

func ReadRootWebSession_RequestStream_getResponse_Params

func ReadRootWebSession_RequestStream_getResponse_Params(msg *capnp.Message) (WebSession_RequestStream_getResponse_Params, error)

func (WebSession_RequestStream_getResponse_Params) DecodeFromPtr

func (WebSession_RequestStream_getResponse_Params) EncodeAsPtr

func (WebSession_RequestStream_getResponse_Params) IsValid

func (WebSession_RequestStream_getResponse_Params) Message

func (WebSession_RequestStream_getResponse_Params) Segment

func (WebSession_RequestStream_getResponse_Params) String

func (WebSession_RequestStream_getResponse_Params) ToPtr

type WebSession_RequestStream_getResponse_Params_Future

type WebSession_RequestStream_getResponse_Params_Future struct{ *capnp.Future }

WebSession_RequestStream_getResponse_Params_Future is a wrapper for a WebSession_RequestStream_getResponse_Params promised by a client call.

func (WebSession_RequestStream_getResponse_Params_Future) Struct

type WebSession_RequestStream_getResponse_Params_List

type WebSession_RequestStream_getResponse_Params_List = capnp.StructList[WebSession_RequestStream_getResponse_Params]

WebSession_RequestStream_getResponse_Params_List is a list of WebSession_RequestStream_getResponse_Params.

func NewWebSession_RequestStream_getResponse_Params_List

func NewWebSession_RequestStream_getResponse_Params_List(s *capnp.Segment, sz int32) (WebSession_RequestStream_getResponse_Params_List, error)

NewWebSession_RequestStream_getResponse_Params creates a new list of WebSession_RequestStream_getResponse_Params.

type WebSession_Response

type WebSession_Response capnp.Struct

func NewRootWebSession_Response

func NewRootWebSession_Response(s *capnp.Segment) (WebSession_Response, error)

func NewWebSession_Response

func NewWebSession_Response(s *capnp.Segment) (WebSession_Response, error)

func ReadRootWebSession_Response

func ReadRootWebSession_Response(msg *capnp.Message) (WebSession_Response, error)

func (WebSession_Response) AdditionalHeaders

func (WebSession_Response) CachePolicy

func (WebSession_Response) ClientError

func (WebSession_Response) Content

func (WebSession_Response) DecodeFromPtr

func (WebSession_Response) EncodeAsPtr

func (s WebSession_Response) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_Response) HasAdditionalHeaders

func (s WebSession_Response) HasAdditionalHeaders() bool

func (WebSession_Response) HasCachePolicy

func (s WebSession_Response) HasCachePolicy() bool

func (WebSession_Response) HasSetCookies

func (s WebSession_Response) HasSetCookies() bool

func (WebSession_Response) IsValid

func (s WebSession_Response) IsValid() bool

func (WebSession_Response) Message

func (s WebSession_Response) Message() *capnp.Message

func (WebSession_Response) NewAdditionalHeaders

func (s WebSession_Response) NewAdditionalHeaders(n int32) (WebSession_Response_Header_List, error)

NewAdditionalHeaders sets the additionalHeaders field to a newly allocated WebSession_Response_Header_List, preferring placement in s's segment.

func (WebSession_Response) NewCachePolicy

func (s WebSession_Response) NewCachePolicy() (WebSession_CachePolicy, error)

NewCachePolicy sets the cachePolicy field to a newly allocated WebSession_CachePolicy struct, preferring placement in s's segment.

func (WebSession_Response) NewSetCookies

func (s WebSession_Response) NewSetCookies(n int32) (WebSession_Cookie_List, error)

NewSetCookies sets the setCookies field to a newly allocated WebSession_Cookie_List, preferring placement in s's segment.

func (WebSession_Response) NoContent

func (WebSession_Response) PreconditionFailed

func (WebSession_Response) Redirect

func (WebSession_Response) Segment

func (s WebSession_Response) Segment() *capnp.Segment

func (WebSession_Response) ServerError

func (WebSession_Response) SetAdditionalHeaders

func (s WebSession_Response) SetAdditionalHeaders(v WebSession_Response_Header_List) error

func (WebSession_Response) SetCachePolicy

func (s WebSession_Response) SetCachePolicy(v WebSession_CachePolicy) error

func (WebSession_Response) SetClientError

func (s WebSession_Response) SetClientError()

func (WebSession_Response) SetContent

func (s WebSession_Response) SetContent()

func (WebSession_Response) SetCookies

func (WebSession_Response) SetNoContent

func (s WebSession_Response) SetNoContent()

func (WebSession_Response) SetPreconditionFailed

func (s WebSession_Response) SetPreconditionFailed()

func (WebSession_Response) SetRedirect

func (s WebSession_Response) SetRedirect()

func (WebSession_Response) SetServerError

func (s WebSession_Response) SetServerError()

func (WebSession_Response) SetSetCookies

func (WebSession_Response) String

func (s WebSession_Response) String() string

func (WebSession_Response) ToPtr

func (s WebSession_Response) ToPtr() capnp.Ptr

func (WebSession_Response) Which

type WebSession_Response_ClientErrorCode

type WebSession_Response_ClientErrorCode uint16
const (
	WebSession_Response_ClientErrorCode_badRequest            WebSession_Response_ClientErrorCode = 0
	WebSession_Response_ClientErrorCode_forbidden             WebSession_Response_ClientErrorCode = 1
	WebSession_Response_ClientErrorCode_notFound              WebSession_Response_ClientErrorCode = 2
	WebSession_Response_ClientErrorCode_methodNotAllowed      WebSession_Response_ClientErrorCode = 3
	WebSession_Response_ClientErrorCode_notAcceptable         WebSession_Response_ClientErrorCode = 4
	WebSession_Response_ClientErrorCode_conflict              WebSession_Response_ClientErrorCode = 5
	WebSession_Response_ClientErrorCode_gone                  WebSession_Response_ClientErrorCode = 6
	WebSession_Response_ClientErrorCode_preconditionFailed    WebSession_Response_ClientErrorCode = 11
	WebSession_Response_ClientErrorCode_requestEntityTooLarge WebSession_Response_ClientErrorCode = 7
	WebSession_Response_ClientErrorCode_requestUriTooLong     WebSession_Response_ClientErrorCode = 8
	WebSession_Response_ClientErrorCode_unsupportedMediaType  WebSession_Response_ClientErrorCode = 9
	WebSession_Response_ClientErrorCode_imATeapot             WebSession_Response_ClientErrorCode = 10
	WebSession_Response_ClientErrorCode_unprocessableEntity   WebSession_Response_ClientErrorCode = 12
)

Values of WebSession_Response_ClientErrorCode.

func WebSession_Response_ClientErrorCodeFromString

func WebSession_Response_ClientErrorCodeFromString(c string) WebSession_Response_ClientErrorCode

WebSession_Response_ClientErrorCodeFromString returns the enum value with a name, or the zero value if there's no such value.

func (WebSession_Response_ClientErrorCode) String

String returns the enum's constant name.

type WebSession_Response_ClientErrorCode_List

type WebSession_Response_ClientErrorCode_List = capnp.EnumList[WebSession_Response_ClientErrorCode]

func NewWebSession_Response_ClientErrorCode_List

func NewWebSession_Response_ClientErrorCode_List(s *capnp.Segment, sz int32) (WebSession_Response_ClientErrorCode_List, error)

type WebSession_Response_ErrorBody

type WebSession_Response_ErrorBody capnp.Struct

func NewRootWebSession_Response_ErrorBody

func NewRootWebSession_Response_ErrorBody(s *capnp.Segment) (WebSession_Response_ErrorBody, error)

func NewWebSession_Response_ErrorBody

func NewWebSession_Response_ErrorBody(s *capnp.Segment) (WebSession_Response_ErrorBody, error)

func ReadRootWebSession_Response_ErrorBody

func ReadRootWebSession_Response_ErrorBody(msg *capnp.Message) (WebSession_Response_ErrorBody, error)

func (WebSession_Response_ErrorBody) Data

func (WebSession_Response_ErrorBody) DecodeFromPtr

func (WebSession_Response_ErrorBody) EncodeAsPtr

func (s WebSession_Response_ErrorBody) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_Response_ErrorBody) Encoding

func (s WebSession_Response_ErrorBody) Encoding() (string, error)

func (WebSession_Response_ErrorBody) EncodingBytes

func (s WebSession_Response_ErrorBody) EncodingBytes() ([]byte, error)

func (WebSession_Response_ErrorBody) HasData

func (s WebSession_Response_ErrorBody) HasData() bool

func (WebSession_Response_ErrorBody) HasEncoding

func (s WebSession_Response_ErrorBody) HasEncoding() bool

func (WebSession_Response_ErrorBody) HasLanguage

func (s WebSession_Response_ErrorBody) HasLanguage() bool

func (WebSession_Response_ErrorBody) HasMimeType

func (s WebSession_Response_ErrorBody) HasMimeType() bool

func (WebSession_Response_ErrorBody) IsValid

func (s WebSession_Response_ErrorBody) IsValid() bool

func (WebSession_Response_ErrorBody) Language

func (s WebSession_Response_ErrorBody) Language() (string, error)

func (WebSession_Response_ErrorBody) LanguageBytes

func (s WebSession_Response_ErrorBody) LanguageBytes() ([]byte, error)

func (WebSession_Response_ErrorBody) Message

func (WebSession_Response_ErrorBody) MimeType

func (s WebSession_Response_ErrorBody) MimeType() (string, error)

func (WebSession_Response_ErrorBody) MimeTypeBytes

func (s WebSession_Response_ErrorBody) MimeTypeBytes() ([]byte, error)

func (WebSession_Response_ErrorBody) Segment

func (WebSession_Response_ErrorBody) SetData

func (s WebSession_Response_ErrorBody) SetData(v []byte) error

func (WebSession_Response_ErrorBody) SetEncoding

func (s WebSession_Response_ErrorBody) SetEncoding(v string) error

func (WebSession_Response_ErrorBody) SetLanguage

func (s WebSession_Response_ErrorBody) SetLanguage(v string) error

func (WebSession_Response_ErrorBody) SetMimeType

func (s WebSession_Response_ErrorBody) SetMimeType(v string) error

func (WebSession_Response_ErrorBody) String

func (WebSession_Response_ErrorBody) ToPtr

type WebSession_Response_ErrorBody_Future

type WebSession_Response_ErrorBody_Future struct{ *capnp.Future }

WebSession_Response_ErrorBody_Future is a wrapper for a WebSession_Response_ErrorBody promised by a client call.

func (WebSession_Response_ErrorBody_Future) Struct

type WebSession_Response_ErrorBody_List

type WebSession_Response_ErrorBody_List = capnp.StructList[WebSession_Response_ErrorBody]

WebSession_Response_ErrorBody_List is a list of WebSession_Response_ErrorBody.

func NewWebSession_Response_ErrorBody_List

func NewWebSession_Response_ErrorBody_List(s *capnp.Segment, sz int32) (WebSession_Response_ErrorBody_List, error)

NewWebSession_Response_ErrorBody creates a new list of WebSession_Response_ErrorBody.

type WebSession_Response_Future

type WebSession_Response_Future struct{ *capnp.Future }

WebSession_Response_Future is a wrapper for a WebSession_Response promised by a client call.

func (WebSession_Response_Future) CachePolicy

func (WebSession_Response_Future) ClientError

func (WebSession_Response_Future) Content

func (WebSession_Response_Future) NoContent

func (WebSession_Response_Future) PreconditionFailed

func (WebSession_Response_Future) Redirect

func (WebSession_Response_Future) ServerError

func (WebSession_Response_Future) Struct

type WebSession_Response_Header

type WebSession_Response_Header capnp.Struct

func NewRootWebSession_Response_Header

func NewRootWebSession_Response_Header(s *capnp.Segment) (WebSession_Response_Header, error)

func NewWebSession_Response_Header

func NewWebSession_Response_Header(s *capnp.Segment) (WebSession_Response_Header, error)

func ReadRootWebSession_Response_Header

func ReadRootWebSession_Response_Header(msg *capnp.Message) (WebSession_Response_Header, error)

func (WebSession_Response_Header) DecodeFromPtr

func (WebSession_Response_Header) EncodeAsPtr

func (s WebSession_Response_Header) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_Response_Header) HasName

func (s WebSession_Response_Header) HasName() bool

func (WebSession_Response_Header) HasValue

func (s WebSession_Response_Header) HasValue() bool

func (WebSession_Response_Header) IsValid

func (s WebSession_Response_Header) IsValid() bool

func (WebSession_Response_Header) Message

func (WebSession_Response_Header) Name

func (WebSession_Response_Header) NameBytes

func (s WebSession_Response_Header) NameBytes() ([]byte, error)

func (WebSession_Response_Header) Segment

func (WebSession_Response_Header) SetName

func (WebSession_Response_Header) SetValue

func (s WebSession_Response_Header) SetValue(v string) error

func (WebSession_Response_Header) String

func (WebSession_Response_Header) ToPtr

func (WebSession_Response_Header) Value

func (WebSession_Response_Header) ValueBytes

func (s WebSession_Response_Header) ValueBytes() ([]byte, error)

type WebSession_Response_Header_Future

type WebSession_Response_Header_Future struct{ *capnp.Future }

WebSession_Response_Header_Future is a wrapper for a WebSession_Response_Header promised by a client call.

func (WebSession_Response_Header_Future) Struct

type WebSession_Response_Header_List

type WebSession_Response_Header_List = capnp.StructList[WebSession_Response_Header]

WebSession_Response_Header_List is a list of WebSession_Response_Header.

func NewWebSession_Response_Header_List

func NewWebSession_Response_Header_List(s *capnp.Segment, sz int32) (WebSession_Response_Header_List, error)

NewWebSession_Response_Header creates a new list of WebSession_Response_Header.

type WebSession_Response_List

type WebSession_Response_List = capnp.StructList[WebSession_Response]

WebSession_Response_List is a list of WebSession_Response.

func NewWebSession_Response_List

func NewWebSession_Response_List(s *capnp.Segment, sz int32) (WebSession_Response_List, error)

NewWebSession_Response creates a new list of WebSession_Response.

type WebSession_Response_SuccessCode

type WebSession_Response_SuccessCode uint16
const (
	WebSession_Response_SuccessCode_ok             WebSession_Response_SuccessCode = 0
	WebSession_Response_SuccessCode_created        WebSession_Response_SuccessCode = 1
	WebSession_Response_SuccessCode_accepted       WebSession_Response_SuccessCode = 2
	WebSession_Response_SuccessCode_noContent      WebSession_Response_SuccessCode = 3
	WebSession_Response_SuccessCode_partialContent WebSession_Response_SuccessCode = 4
	WebSession_Response_SuccessCode_multiStatus    WebSession_Response_SuccessCode = 5
	WebSession_Response_SuccessCode_notModified    WebSession_Response_SuccessCode = 6
)

Values of WebSession_Response_SuccessCode.

func WebSession_Response_SuccessCodeFromString

func WebSession_Response_SuccessCodeFromString(c string) WebSession_Response_SuccessCode

WebSession_Response_SuccessCodeFromString returns the enum value with a name, or the zero value if there's no such value.

func (WebSession_Response_SuccessCode) String

String returns the enum's constant name.

type WebSession_Response_SuccessCode_List

type WebSession_Response_SuccessCode_List = capnp.EnumList[WebSession_Response_SuccessCode]

func NewWebSession_Response_SuccessCode_List

func NewWebSession_Response_SuccessCode_List(s *capnp.Segment, sz int32) (WebSession_Response_SuccessCode_List, error)

type WebSession_Response_Which

type WebSession_Response_Which uint16
const (
	WebSession_Response_Which_content            WebSession_Response_Which = 1
	WebSession_Response_Which_noContent          WebSession_Response_Which = 4
	WebSession_Response_Which_preconditionFailed WebSession_Response_Which = 5
	WebSession_Response_Which_redirect           WebSession_Response_Which = 0
	WebSession_Response_Which_clientError        WebSession_Response_Which = 2
	WebSession_Response_Which_serverError        WebSession_Response_Which = 3
)

func (WebSession_Response_Which) String

func (w WebSession_Response_Which) String() string

type WebSession_Response_clientError

type WebSession_Response_clientError WebSession_Response

func (WebSession_Response_clientError) DescriptionHtml

func (s WebSession_Response_clientError) DescriptionHtml() (string, error)

func (WebSession_Response_clientError) DescriptionHtmlBytes

func (s WebSession_Response_clientError) DescriptionHtmlBytes() ([]byte, error)

func (WebSession_Response_clientError) HasDescriptionHtml

func (s WebSession_Response_clientError) HasDescriptionHtml() bool

func (WebSession_Response_clientError) HasNonHtmlBody

func (s WebSession_Response_clientError) HasNonHtmlBody() bool

func (WebSession_Response_clientError) IsValid

func (WebSession_Response_clientError) Message

func (WebSession_Response_clientError) NewNonHtmlBody

NewNonHtmlBody sets the nonHtmlBody field to a newly allocated WebSession_Response_ErrorBody struct, preferring placement in s's segment.

func (WebSession_Response_clientError) NonHtmlBody

func (WebSession_Response_clientError) Segment

func (WebSession_Response_clientError) SetDescriptionHtml

func (s WebSession_Response_clientError) SetDescriptionHtml(v string) error

func (WebSession_Response_clientError) SetNonHtmlBody

func (WebSession_Response_clientError) SetStatusCode

func (WebSession_Response_clientError) StatusCode

type WebSession_Response_clientError_Future

type WebSession_Response_clientError_Future struct{ *capnp.Future }

WebSession_Response_clientError_Future is a wrapper for a WebSession_Response_clientError promised by a client call.

func (WebSession_Response_clientError_Future) NonHtmlBody

func (WebSession_Response_clientError_Future) Struct

type WebSession_Response_content

type WebSession_Response_content WebSession_Response

func (WebSession_Response_content) Body

func (WebSession_Response_content) Disposition

func (WebSession_Response_content) ETag

func (WebSession_Response_content) Encoding

func (s WebSession_Response_content) Encoding() (string, error)

func (WebSession_Response_content) EncodingBytes

func (s WebSession_Response_content) EncodingBytes() ([]byte, error)

func (WebSession_Response_content) HasETag

func (s WebSession_Response_content) HasETag() bool

func (WebSession_Response_content) HasEncoding

func (s WebSession_Response_content) HasEncoding() bool

func (WebSession_Response_content) HasLanguage

func (s WebSession_Response_content) HasLanguage() bool

func (WebSession_Response_content) HasMimeType

func (s WebSession_Response_content) HasMimeType() bool

func (WebSession_Response_content) IsValid

func (s WebSession_Response_content) IsValid() bool

func (WebSession_Response_content) Language

func (s WebSession_Response_content) Language() (string, error)

func (WebSession_Response_content) LanguageBytes

func (s WebSession_Response_content) LanguageBytes() ([]byte, error)

func (WebSession_Response_content) Message

func (WebSession_Response_content) MimeType

func (s WebSession_Response_content) MimeType() (string, error)

func (WebSession_Response_content) MimeTypeBytes

func (s WebSession_Response_content) MimeTypeBytes() ([]byte, error)

func (WebSession_Response_content) NewETag

NewETag sets the eTag field to a newly allocated WebSession_ETag struct, preferring placement in s's segment.

func (WebSession_Response_content) Segment

func (WebSession_Response_content) SetETag

func (WebSession_Response_content) SetEncoding

func (s WebSession_Response_content) SetEncoding(v string) error

func (WebSession_Response_content) SetLanguage

func (s WebSession_Response_content) SetLanguage(v string) error

func (WebSession_Response_content) SetMimeType

func (s WebSession_Response_content) SetMimeType(v string) error

func (WebSession_Response_content) SetStatusCode

func (WebSession_Response_content) StatusCode

type WebSession_Response_content_Future

type WebSession_Response_content_Future struct{ *capnp.Future }

WebSession_Response_content_Future is a wrapper for a WebSession_Response_content promised by a client call.

func (WebSession_Response_content_Future) Body

func (WebSession_Response_content_Future) Disposition

func (WebSession_Response_content_Future) ETag

func (WebSession_Response_content_Future) Struct

type WebSession_Response_content_body

type WebSession_Response_content_body WebSession_Response

func (WebSession_Response_content_body) Bytes

func (WebSession_Response_content_body) HasBytes

func (WebSession_Response_content_body) HasStream

func (s WebSession_Response_content_body) HasStream() bool

func (WebSession_Response_content_body) IsValid

func (WebSession_Response_content_body) Message

func (WebSession_Response_content_body) Segment

func (WebSession_Response_content_body) SetBytes

func (WebSession_Response_content_body) SetStream

func (WebSession_Response_content_body) Stream

func (WebSession_Response_content_body) Which

type WebSession_Response_content_body_Future

type WebSession_Response_content_body_Future struct{ *capnp.Future }

WebSession_Response_content_body_Future is a wrapper for a WebSession_Response_content_body promised by a client call.

func (WebSession_Response_content_body_Future) Stream

func (WebSession_Response_content_body_Future) Struct

type WebSession_Response_content_body_Which

type WebSession_Response_content_body_Which uint16
const (
	WebSession_Response_content_body_Which_bytes  WebSession_Response_content_body_Which = 0
	WebSession_Response_content_body_Which_stream WebSession_Response_content_body_Which = 1
)

func (WebSession_Response_content_body_Which) String

type WebSession_Response_content_disposition

type WebSession_Response_content_disposition WebSession_Response

func (WebSession_Response_content_disposition) Download

func (WebSession_Response_content_disposition) DownloadBytes

func (s WebSession_Response_content_disposition) DownloadBytes() ([]byte, error)

func (WebSession_Response_content_disposition) HasDownload

func (WebSession_Response_content_disposition) IsValid

func (WebSession_Response_content_disposition) Message

func (WebSession_Response_content_disposition) Segment

func (WebSession_Response_content_disposition) SetDownload

func (WebSession_Response_content_disposition) SetNormal

func (WebSession_Response_content_disposition) Which

type WebSession_Response_content_disposition_Future

type WebSession_Response_content_disposition_Future struct{ *capnp.Future }

WebSession_Response_content_disposition_Future is a wrapper for a WebSession_Response_content_disposition promised by a client call.

func (WebSession_Response_content_disposition_Future) Struct

type WebSession_Response_content_disposition_Which

type WebSession_Response_content_disposition_Which uint16
const (
	WebSession_Response_content_disposition_Which_normal   WebSession_Response_content_disposition_Which = 0
	WebSession_Response_content_disposition_Which_download WebSession_Response_content_disposition_Which = 1
)

func (WebSession_Response_content_disposition_Which) String

type WebSession_Response_noContent

type WebSession_Response_noContent WebSession_Response

func (WebSession_Response_noContent) ETag

func (WebSession_Response_noContent) HasETag

func (s WebSession_Response_noContent) HasETag() bool

func (WebSession_Response_noContent) IsValid

func (s WebSession_Response_noContent) IsValid() bool

func (WebSession_Response_noContent) Message

func (WebSession_Response_noContent) NewETag

NewETag sets the eTag field to a newly allocated WebSession_ETag struct, preferring placement in s's segment.

func (WebSession_Response_noContent) Segment

func (WebSession_Response_noContent) SetETag

func (WebSession_Response_noContent) SetShouldResetForm

func (s WebSession_Response_noContent) SetShouldResetForm(v bool)

func (WebSession_Response_noContent) ShouldResetForm

func (s WebSession_Response_noContent) ShouldResetForm() bool

type WebSession_Response_noContent_Future

type WebSession_Response_noContent_Future struct{ *capnp.Future }

WebSession_Response_noContent_Future is a wrapper for a WebSession_Response_noContent promised by a client call.

func (WebSession_Response_noContent_Future) ETag

func (WebSession_Response_noContent_Future) Struct

type WebSession_Response_preconditionFailed

type WebSession_Response_preconditionFailed WebSession_Response

func (WebSession_Response_preconditionFailed) HasMatchingETag

func (s WebSession_Response_preconditionFailed) HasMatchingETag() bool

func (WebSession_Response_preconditionFailed) IsValid

func (WebSession_Response_preconditionFailed) MatchingETag

func (WebSession_Response_preconditionFailed) Message

func (WebSession_Response_preconditionFailed) NewMatchingETag

NewMatchingETag sets the matchingETag field to a newly allocated WebSession_ETag struct, preferring placement in s's segment.

func (WebSession_Response_preconditionFailed) Segment

func (WebSession_Response_preconditionFailed) SetMatchingETag

type WebSession_Response_preconditionFailed_Future

type WebSession_Response_preconditionFailed_Future struct{ *capnp.Future }

WebSession_Response_preconditionFailed_Future is a wrapper for a WebSession_Response_preconditionFailed promised by a client call.

func (WebSession_Response_preconditionFailed_Future) MatchingETag

func (WebSession_Response_preconditionFailed_Future) Struct

type WebSession_Response_redirect

type WebSession_Response_redirect WebSession_Response

func (WebSession_Response_redirect) HasLocation

func (s WebSession_Response_redirect) HasLocation() bool

func (WebSession_Response_redirect) IsPermanent

func (s WebSession_Response_redirect) IsPermanent() bool

func (WebSession_Response_redirect) IsValid

func (s WebSession_Response_redirect) IsValid() bool

func (WebSession_Response_redirect) Location

func (s WebSession_Response_redirect) Location() (string, error)

func (WebSession_Response_redirect) LocationBytes

func (s WebSession_Response_redirect) LocationBytes() ([]byte, error)

func (WebSession_Response_redirect) Message

func (WebSession_Response_redirect) Segment

func (WebSession_Response_redirect) SetIsPermanent

func (s WebSession_Response_redirect) SetIsPermanent(v bool)

func (WebSession_Response_redirect) SetLocation

func (s WebSession_Response_redirect) SetLocation(v string) error

func (WebSession_Response_redirect) SetSwitchToGet

func (s WebSession_Response_redirect) SetSwitchToGet(v bool)

func (WebSession_Response_redirect) SwitchToGet

func (s WebSession_Response_redirect) SwitchToGet() bool

type WebSession_Response_redirect_Future

type WebSession_Response_redirect_Future struct{ *capnp.Future }

WebSession_Response_redirect_Future is a wrapper for a WebSession_Response_redirect promised by a client call.

func (WebSession_Response_redirect_Future) Struct

type WebSession_Response_serverError

type WebSession_Response_serverError WebSession_Response

func (WebSession_Response_serverError) DescriptionHtml

func (s WebSession_Response_serverError) DescriptionHtml() (string, error)

func (WebSession_Response_serverError) DescriptionHtmlBytes

func (s WebSession_Response_serverError) DescriptionHtmlBytes() ([]byte, error)

func (WebSession_Response_serverError) HasDescriptionHtml

func (s WebSession_Response_serverError) HasDescriptionHtml() bool

func (WebSession_Response_serverError) HasNonHtmlBody

func (s WebSession_Response_serverError) HasNonHtmlBody() bool

func (WebSession_Response_serverError) IsValid

func (WebSession_Response_serverError) Message

func (WebSession_Response_serverError) NewNonHtmlBody

NewNonHtmlBody sets the nonHtmlBody field to a newly allocated WebSession_Response_ErrorBody struct, preferring placement in s's segment.

func (WebSession_Response_serverError) NonHtmlBody

func (WebSession_Response_serverError) Segment

func (WebSession_Response_serverError) SetDescriptionHtml

func (s WebSession_Response_serverError) SetDescriptionHtml(v string) error

func (WebSession_Response_serverError) SetNonHtmlBody

type WebSession_Response_serverError_Future

type WebSession_Response_serverError_Future struct{ *capnp.Future }

WebSession_Response_serverError_Future is a wrapper for a WebSession_Response_serverError promised by a client call.

func (WebSession_Response_serverError_Future) NonHtmlBody

func (WebSession_Response_serverError_Future) Struct

type WebSession_WebSocketStream

type WebSession_WebSocketStream capnp.Client

func WebSession_WebSocketStream_ServerToClient

func WebSession_WebSocketStream_ServerToClient(s WebSession_WebSocketStream_Server) WebSession_WebSocketStream

WebSession_WebSocketStream_ServerToClient creates a new Client from an implementation of WebSession_WebSocketStream_Server. The caller is responsible for calling Release on the returned Client.

func (WebSession_WebSocketStream) AddRef

AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.

func (WebSession_WebSocketStream) DecodeFromPtr

func (WebSession_WebSocketStream) EncodeAsPtr

func (c WebSession_WebSocketStream) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_WebSocketStream) GetFlowLimiter

func (c WebSession_WebSocketStream) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (WebSession_WebSocketStream) IsSame

IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.

func (WebSession_WebSocketStream) IsValid

func (c WebSession_WebSocketStream) IsValid() bool

IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.

func (WebSession_WebSocketStream) Release

func (c WebSession_WebSocketStream) Release()

Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.

Release will panic if c has already been released, but not if c is nil or resolved to null.

func (WebSession_WebSocketStream) Resolve

Resolve blocks until the capability is fully resolved or the Context expires.

func (WebSession_WebSocketStream) SetFlowLimiter

func (c WebSession_WebSocketStream) SetFlowLimiter(lim fc.FlowLimiter)

Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.

func (WebSession_WebSocketStream) String

String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.

type WebSession_WebSocketStream_List

type WebSession_WebSocketStream_List = capnp.CapList[WebSession_WebSocketStream]

WebSession_WebSocketStream_List is a list of WebSession_WebSocketStream.

func NewWebSession_WebSocketStream_List

func NewWebSession_WebSocketStream_List(s *capnp.Segment, sz int32) (WebSession_WebSocketStream_List, error)

NewWebSession_WebSocketStream creates a new list of WebSession_WebSocketStream.

type WebSession_WebSocketStream_Server

type WebSession_WebSocketStream_Server interface {
	SendBytes(context.Context, WebSession_WebSocketStream_sendBytes) error
}

type WebSession_WebSocketStream_sendBytes

type WebSession_WebSocketStream_sendBytes struct {
	*server.Call
}

WebSession_WebSocketStream_sendBytes holds the state for a server call to WebSession_WebSocketStream.sendBytes. See server.Call for documentation.

func (WebSession_WebSocketStream_sendBytes) AllocResults

AllocResults allocates the results struct.

func (WebSession_WebSocketStream_sendBytes) Args

Args returns the call's arguments.

type WebSession_WebSocketStream_sendBytes_Params

type WebSession_WebSocketStream_sendBytes_Params capnp.Struct

func NewRootWebSession_WebSocketStream_sendBytes_Params

func NewRootWebSession_WebSocketStream_sendBytes_Params(s *capnp.Segment) (WebSession_WebSocketStream_sendBytes_Params, error)

func ReadRootWebSession_WebSocketStream_sendBytes_Params

func ReadRootWebSession_WebSocketStream_sendBytes_Params(msg *capnp.Message) (WebSession_WebSocketStream_sendBytes_Params, error)

func (WebSession_WebSocketStream_sendBytes_Params) DecodeFromPtr

func (WebSession_WebSocketStream_sendBytes_Params) EncodeAsPtr

func (WebSession_WebSocketStream_sendBytes_Params) HasMsg

func (WebSession_WebSocketStream_sendBytes_Params) IsValid

func (WebSession_WebSocketStream_sendBytes_Params) Message

func (WebSession_WebSocketStream_sendBytes_Params) Msg

func (WebSession_WebSocketStream_sendBytes_Params) Segment

func (WebSession_WebSocketStream_sendBytes_Params) SetMsg

func (WebSession_WebSocketStream_sendBytes_Params) String

func (WebSession_WebSocketStream_sendBytes_Params) ToPtr

type WebSession_WebSocketStream_sendBytes_Params_Future

type WebSession_WebSocketStream_sendBytes_Params_Future struct{ *capnp.Future }

WebSession_WebSocketStream_sendBytes_Params_Future is a wrapper for a WebSession_WebSocketStream_sendBytes_Params promised by a client call.

func (WebSession_WebSocketStream_sendBytes_Params_Future) Struct

type WebSession_WebSocketStream_sendBytes_Params_List

type WebSession_WebSocketStream_sendBytes_Params_List = capnp.StructList[WebSession_WebSocketStream_sendBytes_Params]

WebSession_WebSocketStream_sendBytes_Params_List is a list of WebSession_WebSocketStream_sendBytes_Params.

func NewWebSession_WebSocketStream_sendBytes_Params_List

func NewWebSession_WebSocketStream_sendBytes_Params_List(s *capnp.Segment, sz int32) (WebSession_WebSocketStream_sendBytes_Params_List, error)

NewWebSession_WebSocketStream_sendBytes_Params creates a new list of WebSession_WebSocketStream_sendBytes_Params.

type WebSession_acl

type WebSession_acl struct {
	*server.Call
}

WebSession_acl holds the state for a server call to WebSession.acl. See server.Call for documentation.

func (WebSession_acl) AllocResults

func (c WebSession_acl) AllocResults() (WebSession_Response, error)

AllocResults allocates the results struct.

func (WebSession_acl) Args

Args returns the call's arguments.

type WebSession_acl_Params

type WebSession_acl_Params capnp.Struct

func NewRootWebSession_acl_Params

func NewRootWebSession_acl_Params(s *capnp.Segment) (WebSession_acl_Params, error)

func NewWebSession_acl_Params

func NewWebSession_acl_Params(s *capnp.Segment) (WebSession_acl_Params, error)

func ReadRootWebSession_acl_Params

func ReadRootWebSession_acl_Params(msg *capnp.Message) (WebSession_acl_Params, error)

func (WebSession_acl_Params) Context

func (WebSession_acl_Params) DecodeFromPtr

func (WebSession_acl_Params) EncodeAsPtr

func (s WebSession_acl_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_acl_Params) HasContext

func (s WebSession_acl_Params) HasContext() bool

func (WebSession_acl_Params) HasPath

func (s WebSession_acl_Params) HasPath() bool

func (WebSession_acl_Params) HasXmlContent

func (s WebSession_acl_Params) HasXmlContent() bool

func (WebSession_acl_Params) IsValid

func (s WebSession_acl_Params) IsValid() bool

func (WebSession_acl_Params) Message

func (s WebSession_acl_Params) Message() *capnp.Message

func (WebSession_acl_Params) NewContext

NewContext sets the context field to a newly allocated WebSession_Context struct, preferring placement in s's segment.

func (WebSession_acl_Params) Path

func (s WebSession_acl_Params) Path() (string, error)

func (WebSession_acl_Params) PathBytes

func (s WebSession_acl_Params) PathBytes() ([]byte, error)

func (WebSession_acl_Params) Segment

func (s WebSession_acl_Params) Segment() *capnp.Segment

func (WebSession_acl_Params) SetContext

func (WebSession_acl_Params) SetPath

func (s WebSession_acl_Params) SetPath(v string) error

func (WebSession_acl_Params) SetXmlContent

func (s WebSession_acl_Params) SetXmlContent(v string) error

func (WebSession_acl_Params) String

func (s WebSession_acl_Params) String() string

func (WebSession_acl_Params) ToPtr

func (s WebSession_acl_Params) ToPtr() capnp.Ptr

func (WebSession_acl_Params) XmlContent

func (s WebSession_acl_Params) XmlContent() (string, error)

func (WebSession_acl_Params) XmlContentBytes

func (s WebSession_acl_Params) XmlContentBytes() ([]byte, error)

type WebSession_acl_Params_Future

type WebSession_acl_Params_Future struct{ *capnp.Future }

WebSession_acl_Params_Future is a wrapper for a WebSession_acl_Params promised by a client call.

func (WebSession_acl_Params_Future) Context

func (WebSession_acl_Params_Future) Struct

type WebSession_acl_Params_List

type WebSession_acl_Params_List = capnp.StructList[WebSession_acl_Params]

WebSession_acl_Params_List is a list of WebSession_acl_Params.

func NewWebSession_acl_Params_List

func NewWebSession_acl_Params_List(s *capnp.Segment, sz int32) (WebSession_acl_Params_List, error)

NewWebSession_acl_Params creates a new list of WebSession_acl_Params.

type WebSession_copy

type WebSession_copy struct {
	*server.Call
}

WebSession_copy holds the state for a server call to WebSession.copy. See server.Call for documentation.

func (WebSession_copy) AllocResults

func (c WebSession_copy) AllocResults() (WebSession_Response, error)

AllocResults allocates the results struct.

func (WebSession_copy) Args

Args returns the call's arguments.

type WebSession_copy_Params

type WebSession_copy_Params capnp.Struct

func NewRootWebSession_copy_Params

func NewRootWebSession_copy_Params(s *capnp.Segment) (WebSession_copy_Params, error)

func NewWebSession_copy_Params

func NewWebSession_copy_Params(s *capnp.Segment) (WebSession_copy_Params, error)

func ReadRootWebSession_copy_Params

func ReadRootWebSession_copy_Params(msg *capnp.Message) (WebSession_copy_Params, error)

func (WebSession_copy_Params) Context

func (WebSession_copy_Params) DecodeFromPtr

func (WebSession_copy_Params) Destination

func (s WebSession_copy_Params) Destination() (string, error)

func (WebSession_copy_Params) DestinationBytes

func (s WebSession_copy_Params) DestinationBytes() ([]byte, error)

func (WebSession_copy_Params) EncodeAsPtr

func (s WebSession_copy_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_copy_Params) HasContext

func (s WebSession_copy_Params) HasContext() bool

func (WebSession_copy_Params) HasDestination

func (s WebSession_copy_Params) HasDestination() bool

func (WebSession_copy_Params) HasPath

func (s WebSession_copy_Params) HasPath() bool

func (WebSession_copy_Params) IsValid

func (s WebSession_copy_Params) IsValid() bool

func (WebSession_copy_Params) Message

func (s WebSession_copy_Params) Message() *capnp.Message

func (WebSession_copy_Params) NewContext

NewContext sets the context field to a newly allocated WebSession_Context struct, preferring placement in s's segment.

func (WebSession_copy_Params) NoOverwrite

func (s WebSession_copy_Params) NoOverwrite() bool

func (WebSession_copy_Params) Path

func (s WebSession_copy_Params) Path() (string, error)

func (WebSession_copy_Params) PathBytes

func (s WebSession_copy_Params) PathBytes() ([]byte, error)

func (WebSession_copy_Params) Segment

func (s WebSession_copy_Params) Segment() *capnp.Segment

func (WebSession_copy_Params) SetContext

func (WebSession_copy_Params) SetDestination

func (s WebSession_copy_Params) SetDestination(v string) error

func (WebSession_copy_Params) SetNoOverwrite

func (s WebSession_copy_Params) SetNoOverwrite(v bool)

func (WebSession_copy_Params) SetPath

func (s WebSession_copy_Params) SetPath(v string) error

func (WebSession_copy_Params) SetShallow

func (s WebSession_copy_Params) SetShallow(v bool)

func (WebSession_copy_Params) Shallow

func (s WebSession_copy_Params) Shallow() bool

func (WebSession_copy_Params) String

func (s WebSession_copy_Params) String() string

func (WebSession_copy_Params) ToPtr

func (s WebSession_copy_Params) ToPtr() capnp.Ptr

type WebSession_copy_Params_Future

type WebSession_copy_Params_Future struct{ *capnp.Future }

WebSession_copy_Params_Future is a wrapper for a WebSession_copy_Params promised by a client call.

func (WebSession_copy_Params_Future) Context

func (WebSession_copy_Params_Future) Struct

type WebSession_copy_Params_List

type WebSession_copy_Params_List = capnp.StructList[WebSession_copy_Params]

WebSession_copy_Params_List is a list of WebSession_copy_Params.

func NewWebSession_copy_Params_List

func NewWebSession_copy_Params_List(s *capnp.Segment, sz int32) (WebSession_copy_Params_List, error)

NewWebSession_copy_Params creates a new list of WebSession_copy_Params.

type WebSession_delete

type WebSession_delete struct {
	*server.Call
}

WebSession_delete holds the state for a server call to WebSession.delete. See server.Call for documentation.

func (WebSession_delete) AllocResults

func (c WebSession_delete) AllocResults() (WebSession_Response, error)

AllocResults allocates the results struct.

func (WebSession_delete) Args

Args returns the call's arguments.

type WebSession_delete_Params

type WebSession_delete_Params capnp.Struct

func NewRootWebSession_delete_Params

func NewRootWebSession_delete_Params(s *capnp.Segment) (WebSession_delete_Params, error)

func NewWebSession_delete_Params

func NewWebSession_delete_Params(s *capnp.Segment) (WebSession_delete_Params, error)

func ReadRootWebSession_delete_Params

func ReadRootWebSession_delete_Params(msg *capnp.Message) (WebSession_delete_Params, error)

func (WebSession_delete_Params) Context

func (WebSession_delete_Params) DecodeFromPtr

func (WebSession_delete_Params) EncodeAsPtr

func (s WebSession_delete_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_delete_Params) HasContext

func (s WebSession_delete_Params) HasContext() bool

func (WebSession_delete_Params) HasPath

func (s WebSession_delete_Params) HasPath() bool

func (WebSession_delete_Params) IsValid

func (s WebSession_delete_Params) IsValid() bool

func (WebSession_delete_Params) Message

func (s WebSession_delete_Params) Message() *capnp.Message

func (WebSession_delete_Params) NewContext

NewContext sets the context field to a newly allocated WebSession_Context struct, preferring placement in s's segment.

func (WebSession_delete_Params) Path

func (WebSession_delete_Params) PathBytes

func (s WebSession_delete_Params) PathBytes() ([]byte, error)

func (WebSession_delete_Params) Segment

func (s WebSession_delete_Params) Segment() *capnp.Segment

func (WebSession_delete_Params) SetContext

func (WebSession_delete_Params) SetPath

func (s WebSession_delete_Params) SetPath(v string) error

func (WebSession_delete_Params) String

func (s WebSession_delete_Params) String() string

func (WebSession_delete_Params) ToPtr

type WebSession_delete_Params_Future

type WebSession_delete_Params_Future struct{ *capnp.Future }

WebSession_delete_Params_Future is a wrapper for a WebSession_delete_Params promised by a client call.

func (WebSession_delete_Params_Future) Context

func (WebSession_delete_Params_Future) Struct

type WebSession_delete_Params_List

type WebSession_delete_Params_List = capnp.StructList[WebSession_delete_Params]

WebSession_delete_Params_List is a list of WebSession_delete_Params.

func NewWebSession_delete_Params_List

func NewWebSession_delete_Params_List(s *capnp.Segment, sz int32) (WebSession_delete_Params_List, error)

NewWebSession_delete_Params creates a new list of WebSession_delete_Params.

type WebSession_get

type WebSession_get struct {
	*server.Call
}

WebSession_get holds the state for a server call to WebSession.get. See server.Call for documentation.

func (WebSession_get) AllocResults

func (c WebSession_get) AllocResults() (WebSession_Response, error)

AllocResults allocates the results struct.

func (WebSession_get) Args

Args returns the call's arguments.

type WebSession_get_Params

type WebSession_get_Params capnp.Struct

func NewRootWebSession_get_Params

func NewRootWebSession_get_Params(s *capnp.Segment) (WebSession_get_Params, error)

func NewWebSession_get_Params

func NewWebSession_get_Params(s *capnp.Segment) (WebSession_get_Params, error)

func ReadRootWebSession_get_Params

func ReadRootWebSession_get_Params(msg *capnp.Message) (WebSession_get_Params, error)

func (WebSession_get_Params) Context

func (WebSession_get_Params) DecodeFromPtr

func (WebSession_get_Params) EncodeAsPtr

func (s WebSession_get_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_get_Params) HasContext

func (s WebSession_get_Params) HasContext() bool

func (WebSession_get_Params) HasPath

func (s WebSession_get_Params) HasPath() bool

func (WebSession_get_Params) IgnoreBody

func (s WebSession_get_Params) IgnoreBody() bool

func (WebSession_get_Params) IsValid

func (s WebSession_get_Params) IsValid() bool

func (WebSession_get_Params) Message

func (s WebSession_get_Params) Message() *capnp.Message

func (WebSession_get_Params) NewContext

NewContext sets the context field to a newly allocated WebSession_Context struct, preferring placement in s's segment.

func (WebSession_get_Params) Path

func (s WebSession_get_Params) Path() (string, error)

func (WebSession_get_Params) PathBytes

func (s WebSession_get_Params) PathBytes() ([]byte, error)

func (WebSession_get_Params) Segment

func (s WebSession_get_Params) Segment() *capnp.Segment

func (WebSession_get_Params) SetContext

func (WebSession_get_Params) SetIgnoreBody

func (s WebSession_get_Params) SetIgnoreBody(v bool)

func (WebSession_get_Params) SetPath

func (s WebSession_get_Params) SetPath(v string) error

func (WebSession_get_Params) String

func (s WebSession_get_Params) String() string

func (WebSession_get_Params) ToPtr

func (s WebSession_get_Params) ToPtr() capnp.Ptr

type WebSession_get_Params_Future

type WebSession_get_Params_Future struct{ *capnp.Future }

WebSession_get_Params_Future is a wrapper for a WebSession_get_Params promised by a client call.

func (WebSession_get_Params_Future) Context

func (WebSession_get_Params_Future) Struct

type WebSession_get_Params_List

type WebSession_get_Params_List = capnp.StructList[WebSession_get_Params]

WebSession_get_Params_List is a list of WebSession_get_Params.

func NewWebSession_get_Params_List

func NewWebSession_get_Params_List(s *capnp.Segment, sz int32) (WebSession_get_Params_List, error)

NewWebSession_get_Params creates a new list of WebSession_get_Params.

type WebSession_lock

type WebSession_lock struct {
	*server.Call
}

WebSession_lock holds the state for a server call to WebSession.lock. See server.Call for documentation.

func (WebSession_lock) AllocResults

func (c WebSession_lock) AllocResults() (WebSession_Response, error)

AllocResults allocates the results struct.

func (WebSession_lock) Args

Args returns the call's arguments.

type WebSession_lock_Params

type WebSession_lock_Params capnp.Struct

func NewRootWebSession_lock_Params

func NewRootWebSession_lock_Params(s *capnp.Segment) (WebSession_lock_Params, error)

func NewWebSession_lock_Params

func NewWebSession_lock_Params(s *capnp.Segment) (WebSession_lock_Params, error)

func ReadRootWebSession_lock_Params

func ReadRootWebSession_lock_Params(msg *capnp.Message) (WebSession_lock_Params, error)

func (WebSession_lock_Params) Context

func (WebSession_lock_Params) DecodeFromPtr

func (WebSession_lock_Params) EncodeAsPtr

func (s WebSession_lock_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_lock_Params) HasContext

func (s WebSession_lock_Params) HasContext() bool

func (WebSession_lock_Params) HasPath

func (s WebSession_lock_Params) HasPath() bool

func (WebSession_lock_Params) HasXmlContent

func (s WebSession_lock_Params) HasXmlContent() bool

func (WebSession_lock_Params) IsValid

func (s WebSession_lock_Params) IsValid() bool

func (WebSession_lock_Params) Message

func (s WebSession_lock_Params) Message() *capnp.Message

func (WebSession_lock_Params) NewContext

NewContext sets the context field to a newly allocated WebSession_Context struct, preferring placement in s's segment.

func (WebSession_lock_Params) Path

func (s WebSession_lock_Params) Path() (string, error)

func (WebSession_lock_Params) PathBytes

func (s WebSession_lock_Params) PathBytes() ([]byte, error)

func (WebSession_lock_Params) Segment

func (s WebSession_lock_Params) Segment() *capnp.Segment

func (WebSession_lock_Params) SetContext

func (WebSession_lock_Params) SetPath

func (s WebSession_lock_Params) SetPath(v string) error

func (WebSession_lock_Params) SetShallow

func (s WebSession_lock_Params) SetShallow(v bool)

func (WebSession_lock_Params) SetXmlContent

func (s WebSession_lock_Params) SetXmlContent(v string) error

func (WebSession_lock_Params) Shallow

func (s WebSession_lock_Params) Shallow() bool

func (WebSession_lock_Params) String

func (s WebSession_lock_Params) String() string

func (WebSession_lock_Params) ToPtr

func (s WebSession_lock_Params) ToPtr() capnp.Ptr

func (WebSession_lock_Params) XmlContent

func (s WebSession_lock_Params) XmlContent() (string, error)

func (WebSession_lock_Params) XmlContentBytes

func (s WebSession_lock_Params) XmlContentBytes() ([]byte, error)

type WebSession_lock_Params_Future

type WebSession_lock_Params_Future struct{ *capnp.Future }

WebSession_lock_Params_Future is a wrapper for a WebSession_lock_Params promised by a client call.

func (WebSession_lock_Params_Future) Context

func (WebSession_lock_Params_Future) Struct

type WebSession_lock_Params_List

type WebSession_lock_Params_List = capnp.StructList[WebSession_lock_Params]

WebSession_lock_Params_List is a list of WebSession_lock_Params.

func NewWebSession_lock_Params_List

func NewWebSession_lock_Params_List(s *capnp.Segment, sz int32) (WebSession_lock_Params_List, error)

NewWebSession_lock_Params creates a new list of WebSession_lock_Params.

type WebSession_mkcol

type WebSession_mkcol struct {
	*server.Call
}

WebSession_mkcol holds the state for a server call to WebSession.mkcol. See server.Call for documentation.

func (WebSession_mkcol) AllocResults

func (c WebSession_mkcol) AllocResults() (WebSession_Response, error)

AllocResults allocates the results struct.

func (WebSession_mkcol) Args

Args returns the call's arguments.

type WebSession_mkcol_Params

type WebSession_mkcol_Params capnp.Struct

func NewRootWebSession_mkcol_Params

func NewRootWebSession_mkcol_Params(s *capnp.Segment) (WebSession_mkcol_Params, error)

func NewWebSession_mkcol_Params

func NewWebSession_mkcol_Params(s *capnp.Segment) (WebSession_mkcol_Params, error)

func ReadRootWebSession_mkcol_Params

func ReadRootWebSession_mkcol_Params(msg *capnp.Message) (WebSession_mkcol_Params, error)

func (WebSession_mkcol_Params) Content

func (WebSession_mkcol_Params) Context

func (WebSession_mkcol_Params) DecodeFromPtr

func (WebSession_mkcol_Params) EncodeAsPtr

func (s WebSession_mkcol_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_mkcol_Params) HasContent

func (s WebSession_mkcol_Params) HasContent() bool

func (WebSession_mkcol_Params) HasContext

func (s WebSession_mkcol_Params) HasContext() bool

func (WebSession_mkcol_Params) HasPath

func (s WebSession_mkcol_Params) HasPath() bool

func (WebSession_mkcol_Params) IsValid

func (s WebSession_mkcol_Params) IsValid() bool

func (WebSession_mkcol_Params) Message

func (s WebSession_mkcol_Params) Message() *capnp.Message

func (WebSession_mkcol_Params) NewContent

NewContent sets the content field to a newly allocated WebSession_PostContent struct, preferring placement in s's segment.

func (WebSession_mkcol_Params) NewContext

NewContext sets the context field to a newly allocated WebSession_Context struct, preferring placement in s's segment.

func (WebSession_mkcol_Params) Path

func (s WebSession_mkcol_Params) Path() (string, error)

func (WebSession_mkcol_Params) PathBytes

func (s WebSession_mkcol_Params) PathBytes() ([]byte, error)

func (WebSession_mkcol_Params) Segment

func (s WebSession_mkcol_Params) Segment() *capnp.Segment

func (WebSession_mkcol_Params) SetContent

func (WebSession_mkcol_Params) SetContext

func (WebSession_mkcol_Params) SetPath

func (s WebSession_mkcol_Params) SetPath(v string) error

func (WebSession_mkcol_Params) String

func (s WebSession_mkcol_Params) String() string

func (WebSession_mkcol_Params) ToPtr

func (s WebSession_mkcol_Params) ToPtr() capnp.Ptr

type WebSession_mkcol_Params_Future

type WebSession_mkcol_Params_Future struct{ *capnp.Future }

WebSession_mkcol_Params_Future is a wrapper for a WebSession_mkcol_Params promised by a client call.

func (WebSession_mkcol_Params_Future) Content

func (WebSession_mkcol_Params_Future) Context

func (WebSession_mkcol_Params_Future) Struct

type WebSession_mkcol_Params_List

type WebSession_mkcol_Params_List = capnp.StructList[WebSession_mkcol_Params]

WebSession_mkcol_Params_List is a list of WebSession_mkcol_Params.

func NewWebSession_mkcol_Params_List

func NewWebSession_mkcol_Params_List(s *capnp.Segment, sz int32) (WebSession_mkcol_Params_List, error)

NewWebSession_mkcol_Params creates a new list of WebSession_mkcol_Params.

type WebSession_move

type WebSession_move struct {
	*server.Call
}

WebSession_move holds the state for a server call to WebSession.move. See server.Call for documentation.

func (WebSession_move) AllocResults

func (c WebSession_move) AllocResults() (WebSession_Response, error)

AllocResults allocates the results struct.

func (WebSession_move) Args

Args returns the call's arguments.

type WebSession_move_Params

type WebSession_move_Params capnp.Struct

func NewRootWebSession_move_Params

func NewRootWebSession_move_Params(s *capnp.Segment) (WebSession_move_Params, error)

func NewWebSession_move_Params

func NewWebSession_move_Params(s *capnp.Segment) (WebSession_move_Params, error)

func ReadRootWebSession_move_Params

func ReadRootWebSession_move_Params(msg *capnp.Message) (WebSession_move_Params, error)

func (WebSession_move_Params) Context

func (WebSession_move_Params) DecodeFromPtr

func (WebSession_move_Params) Destination

func (s WebSession_move_Params) Destination() (string, error)

func (WebSession_move_Params) DestinationBytes

func (s WebSession_move_Params) DestinationBytes() ([]byte, error)

func (WebSession_move_Params) EncodeAsPtr

func (s WebSession_move_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_move_Params) HasContext

func (s WebSession_move_Params) HasContext() bool

func (WebSession_move_Params) HasDestination

func (s WebSession_move_Params) HasDestination() bool

func (WebSession_move_Params) HasPath

func (s WebSession_move_Params) HasPath() bool

func (WebSession_move_Params) IsValid

func (s WebSession_move_Params) IsValid() bool

func (WebSession_move_Params) Message

func (s WebSession_move_Params) Message() *capnp.Message

func (WebSession_move_Params) NewContext

NewContext sets the context field to a newly allocated WebSession_Context struct, preferring placement in s's segment.

func (WebSession_move_Params) NoOverwrite

func (s WebSession_move_Params) NoOverwrite() bool

func (WebSession_move_Params) Path

func (s WebSession_move_Params) Path() (string, error)

func (WebSession_move_Params) PathBytes

func (s WebSession_move_Params) PathBytes() ([]byte, error)

func (WebSession_move_Params) Segment

func (s WebSession_move_Params) Segment() *capnp.Segment

func (WebSession_move_Params) SetContext

func (WebSession_move_Params) SetDestination

func (s WebSession_move_Params) SetDestination(v string) error

func (WebSession_move_Params) SetNoOverwrite

func (s WebSession_move_Params) SetNoOverwrite(v bool)

func (WebSession_move_Params) SetPath

func (s WebSession_move_Params) SetPath(v string) error

func (WebSession_move_Params) String

func (s WebSession_move_Params) String() string

func (WebSession_move_Params) ToPtr

func (s WebSession_move_Params) ToPtr() capnp.Ptr

type WebSession_move_Params_Future

type WebSession_move_Params_Future struct{ *capnp.Future }

WebSession_move_Params_Future is a wrapper for a WebSession_move_Params promised by a client call.

func (WebSession_move_Params_Future) Context

func (WebSession_move_Params_Future) Struct

type WebSession_move_Params_List

type WebSession_move_Params_List = capnp.StructList[WebSession_move_Params]

WebSession_move_Params_List is a list of WebSession_move_Params.

func NewWebSession_move_Params_List

func NewWebSession_move_Params_List(s *capnp.Segment, sz int32) (WebSession_move_Params_List, error)

NewWebSession_move_Params creates a new list of WebSession_move_Params.

type WebSession_openWebSocket

type WebSession_openWebSocket struct {
	*server.Call
}

WebSession_openWebSocket holds the state for a server call to WebSession.openWebSocket. See server.Call for documentation.

func (WebSession_openWebSocket) AllocResults

AllocResults allocates the results struct.

func (WebSession_openWebSocket) Args

Args returns the call's arguments.

type WebSession_openWebSocket_Params

type WebSession_openWebSocket_Params capnp.Struct

func NewRootWebSession_openWebSocket_Params

func NewRootWebSession_openWebSocket_Params(s *capnp.Segment) (WebSession_openWebSocket_Params, error)

func NewWebSession_openWebSocket_Params

func NewWebSession_openWebSocket_Params(s *capnp.Segment) (WebSession_openWebSocket_Params, error)

func ReadRootWebSession_openWebSocket_Params

func ReadRootWebSession_openWebSocket_Params(msg *capnp.Message) (WebSession_openWebSocket_Params, error)

func (WebSession_openWebSocket_Params) ClientStream

func (WebSession_openWebSocket_Params) Context

func (WebSession_openWebSocket_Params) DecodeFromPtr

func (WebSession_openWebSocket_Params) EncodeAsPtr

func (WebSession_openWebSocket_Params) HasClientStream

func (s WebSession_openWebSocket_Params) HasClientStream() bool

func (WebSession_openWebSocket_Params) HasContext

func (s WebSession_openWebSocket_Params) HasContext() bool

func (WebSession_openWebSocket_Params) HasPath

func (WebSession_openWebSocket_Params) HasProtocol

func (s WebSession_openWebSocket_Params) HasProtocol() bool

func (WebSession_openWebSocket_Params) IsValid

func (WebSession_openWebSocket_Params) Message

func (WebSession_openWebSocket_Params) NewContext

NewContext sets the context field to a newly allocated WebSession_Context struct, preferring placement in s's segment.

func (WebSession_openWebSocket_Params) NewProtocol

NewProtocol sets the protocol field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (WebSession_openWebSocket_Params) Path

func (WebSession_openWebSocket_Params) PathBytes

func (s WebSession_openWebSocket_Params) PathBytes() ([]byte, error)

func (WebSession_openWebSocket_Params) Protocol

func (WebSession_openWebSocket_Params) Segment

func (WebSession_openWebSocket_Params) SetClientStream

func (WebSession_openWebSocket_Params) SetContext

func (WebSession_openWebSocket_Params) SetPath

func (WebSession_openWebSocket_Params) SetProtocol

func (WebSession_openWebSocket_Params) String

func (WebSession_openWebSocket_Params) ToPtr

type WebSession_openWebSocket_Params_Future

type WebSession_openWebSocket_Params_Future struct{ *capnp.Future }

WebSession_openWebSocket_Params_Future is a wrapper for a WebSession_openWebSocket_Params promised by a client call.

func (WebSession_openWebSocket_Params_Future) ClientStream

func (WebSession_openWebSocket_Params_Future) Context

func (WebSession_openWebSocket_Params_Future) Struct

type WebSession_openWebSocket_Params_List

type WebSession_openWebSocket_Params_List = capnp.StructList[WebSession_openWebSocket_Params]

WebSession_openWebSocket_Params_List is a list of WebSession_openWebSocket_Params.

func NewWebSession_openWebSocket_Params_List

func NewWebSession_openWebSocket_Params_List(s *capnp.Segment, sz int32) (WebSession_openWebSocket_Params_List, error)

NewWebSession_openWebSocket_Params creates a new list of WebSession_openWebSocket_Params.

type WebSession_openWebSocket_Results

type WebSession_openWebSocket_Results capnp.Struct

func NewRootWebSession_openWebSocket_Results

func NewRootWebSession_openWebSocket_Results(s *capnp.Segment) (WebSession_openWebSocket_Results, error)

func NewWebSession_openWebSocket_Results

func NewWebSession_openWebSocket_Results(s *capnp.Segment) (WebSession_openWebSocket_Results, error)

func ReadRootWebSession_openWebSocket_Results

func ReadRootWebSession_openWebSocket_Results(msg *capnp.Message) (WebSession_openWebSocket_Results, error)

func (WebSession_openWebSocket_Results) DecodeFromPtr

func (WebSession_openWebSocket_Results) EncodeAsPtr

func (WebSession_openWebSocket_Results) HasProtocol

func (s WebSession_openWebSocket_Results) HasProtocol() bool

func (WebSession_openWebSocket_Results) HasServerStream

func (s WebSession_openWebSocket_Results) HasServerStream() bool

func (WebSession_openWebSocket_Results) IsValid

func (WebSession_openWebSocket_Results) Message

func (WebSession_openWebSocket_Results) NewProtocol

NewProtocol sets the protocol field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (WebSession_openWebSocket_Results) Protocol

func (WebSession_openWebSocket_Results) Segment

func (WebSession_openWebSocket_Results) ServerStream

func (WebSession_openWebSocket_Results) SetProtocol

func (WebSession_openWebSocket_Results) SetServerStream

func (WebSession_openWebSocket_Results) String

func (WebSession_openWebSocket_Results) ToPtr

type WebSession_openWebSocket_Results_Future

type WebSession_openWebSocket_Results_Future struct{ *capnp.Future }

WebSession_openWebSocket_Results_Future is a wrapper for a WebSession_openWebSocket_Results promised by a client call.

func (WebSession_openWebSocket_Results_Future) ServerStream

func (WebSession_openWebSocket_Results_Future) Struct

type WebSession_openWebSocket_Results_List

type WebSession_openWebSocket_Results_List = capnp.StructList[WebSession_openWebSocket_Results]

WebSession_openWebSocket_Results_List is a list of WebSession_openWebSocket_Results.

func NewWebSession_openWebSocket_Results_List

func NewWebSession_openWebSocket_Results_List(s *capnp.Segment, sz int32) (WebSession_openWebSocket_Results_List, error)

NewWebSession_openWebSocket_Results creates a new list of WebSession_openWebSocket_Results.

type WebSession_options

type WebSession_options struct {
	*server.Call
}

WebSession_options holds the state for a server call to WebSession.options. See server.Call for documentation.

func (WebSession_options) AllocResults

func (c WebSession_options) AllocResults() (WebSession_Options, error)

AllocResults allocates the results struct.

func (WebSession_options) Args

Args returns the call's arguments.

type WebSession_options_Params

type WebSession_options_Params capnp.Struct

func NewRootWebSession_options_Params

func NewRootWebSession_options_Params(s *capnp.Segment) (WebSession_options_Params, error)

func NewWebSession_options_Params

func NewWebSession_options_Params(s *capnp.Segment) (WebSession_options_Params, error)

func ReadRootWebSession_options_Params

func ReadRootWebSession_options_Params(msg *capnp.Message) (WebSession_options_Params, error)

func (WebSession_options_Params) Context

func (WebSession_options_Params) DecodeFromPtr

func (WebSession_options_Params) EncodeAsPtr

func (s WebSession_options_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_options_Params) HasContext

func (s WebSession_options_Params) HasContext() bool

func (WebSession_options_Params) HasPath

func (s WebSession_options_Params) HasPath() bool

func (WebSession_options_Params) IsValid

func (s WebSession_options_Params) IsValid() bool

func (WebSession_options_Params) Message

func (WebSession_options_Params) NewContext

NewContext sets the context field to a newly allocated WebSession_Context struct, preferring placement in s's segment.

func (WebSession_options_Params) Path

func (WebSession_options_Params) PathBytes

func (s WebSession_options_Params) PathBytes() ([]byte, error)

func (WebSession_options_Params) Segment

func (WebSession_options_Params) SetContext

func (WebSession_options_Params) SetPath

func (s WebSession_options_Params) SetPath(v string) error

func (WebSession_options_Params) String

func (s WebSession_options_Params) String() string

func (WebSession_options_Params) ToPtr

type WebSession_options_Params_Future

type WebSession_options_Params_Future struct{ *capnp.Future }

WebSession_options_Params_Future is a wrapper for a WebSession_options_Params promised by a client call.

func (WebSession_options_Params_Future) Context

func (WebSession_options_Params_Future) Struct

type WebSession_options_Params_List

type WebSession_options_Params_List = capnp.StructList[WebSession_options_Params]

WebSession_options_Params_List is a list of WebSession_options_Params.

func NewWebSession_options_Params_List

func NewWebSession_options_Params_List(s *capnp.Segment, sz int32) (WebSession_options_Params_List, error)

NewWebSession_options_Params creates a new list of WebSession_options_Params.

type WebSession_patch

type WebSession_patch struct {
	*server.Call
}

WebSession_patch holds the state for a server call to WebSession.patch. See server.Call for documentation.

func (WebSession_patch) AllocResults

func (c WebSession_patch) AllocResults() (WebSession_Response, error)

AllocResults allocates the results struct.

func (WebSession_patch) Args

Args returns the call's arguments.

type WebSession_patch_Params

type WebSession_patch_Params capnp.Struct

func NewRootWebSession_patch_Params

func NewRootWebSession_patch_Params(s *capnp.Segment) (WebSession_patch_Params, error)

func NewWebSession_patch_Params

func NewWebSession_patch_Params(s *capnp.Segment) (WebSession_patch_Params, error)

func ReadRootWebSession_patch_Params

func ReadRootWebSession_patch_Params(msg *capnp.Message) (WebSession_patch_Params, error)

func (WebSession_patch_Params) Content

func (WebSession_patch_Params) Context

func (WebSession_patch_Params) DecodeFromPtr

func (WebSession_patch_Params) EncodeAsPtr

func (s WebSession_patch_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_patch_Params) HasContent

func (s WebSession_patch_Params) HasContent() bool

func (WebSession_patch_Params) HasContext

func (s WebSession_patch_Params) HasContext() bool

func (WebSession_patch_Params) HasPath

func (s WebSession_patch_Params) HasPath() bool

func (WebSession_patch_Params) IsValid

func (s WebSession_patch_Params) IsValid() bool

func (WebSession_patch_Params) Message

func (s WebSession_patch_Params) Message() *capnp.Message

func (WebSession_patch_Params) NewContent

NewContent sets the content field to a newly allocated WebSession_PostContent struct, preferring placement in s's segment.

func (WebSession_patch_Params) NewContext

NewContext sets the context field to a newly allocated WebSession_Context struct, preferring placement in s's segment.

func (WebSession_patch_Params) Path

func (s WebSession_patch_Params) Path() (string, error)

func (WebSession_patch_Params) PathBytes

func (s WebSession_patch_Params) PathBytes() ([]byte, error)

func (WebSession_patch_Params) Segment

func (s WebSession_patch_Params) Segment() *capnp.Segment

func (WebSession_patch_Params) SetContent

func (WebSession_patch_Params) SetContext

func (WebSession_patch_Params) SetPath

func (s WebSession_patch_Params) SetPath(v string) error

func (WebSession_patch_Params) String

func (s WebSession_patch_Params) String() string

func (WebSession_patch_Params) ToPtr

func (s WebSession_patch_Params) ToPtr() capnp.Ptr

type WebSession_patch_Params_Future

type WebSession_patch_Params_Future struct{ *capnp.Future }

WebSession_patch_Params_Future is a wrapper for a WebSession_patch_Params promised by a client call.

func (WebSession_patch_Params_Future) Content

func (WebSession_patch_Params_Future) Context

func (WebSession_patch_Params_Future) Struct

type WebSession_patch_Params_List

type WebSession_patch_Params_List = capnp.StructList[WebSession_patch_Params]

WebSession_patch_Params_List is a list of WebSession_patch_Params.

func NewWebSession_patch_Params_List

func NewWebSession_patch_Params_List(s *capnp.Segment, sz int32) (WebSession_patch_Params_List, error)

NewWebSession_patch_Params creates a new list of WebSession_patch_Params.

type WebSession_post

type WebSession_post struct {
	*server.Call
}

WebSession_post holds the state for a server call to WebSession.post. See server.Call for documentation.

func (WebSession_post) AllocResults

func (c WebSession_post) AllocResults() (WebSession_Response, error)

AllocResults allocates the results struct.

func (WebSession_post) Args

Args returns the call's arguments.

type WebSession_postStreaming

type WebSession_postStreaming struct {
	*server.Call
}

WebSession_postStreaming holds the state for a server call to WebSession.postStreaming. See server.Call for documentation.

func (WebSession_postStreaming) AllocResults

AllocResults allocates the results struct.

func (WebSession_postStreaming) Args

Args returns the call's arguments.

type WebSession_postStreaming_Params

type WebSession_postStreaming_Params capnp.Struct

func NewRootWebSession_postStreaming_Params

func NewRootWebSession_postStreaming_Params(s *capnp.Segment) (WebSession_postStreaming_Params, error)

func NewWebSession_postStreaming_Params

func NewWebSession_postStreaming_Params(s *capnp.Segment) (WebSession_postStreaming_Params, error)

func ReadRootWebSession_postStreaming_Params

func ReadRootWebSession_postStreaming_Params(msg *capnp.Message) (WebSession_postStreaming_Params, error)

func (WebSession_postStreaming_Params) Context

func (WebSession_postStreaming_Params) DecodeFromPtr

func (WebSession_postStreaming_Params) EncodeAsPtr

func (WebSession_postStreaming_Params) Encoding

func (WebSession_postStreaming_Params) EncodingBytes

func (s WebSession_postStreaming_Params) EncodingBytes() ([]byte, error)

func (WebSession_postStreaming_Params) HasContext

func (s WebSession_postStreaming_Params) HasContext() bool

func (WebSession_postStreaming_Params) HasEncoding

func (s WebSession_postStreaming_Params) HasEncoding() bool

func (WebSession_postStreaming_Params) HasMimeType

func (s WebSession_postStreaming_Params) HasMimeType() bool

func (WebSession_postStreaming_Params) HasPath

func (WebSession_postStreaming_Params) IsValid

func (WebSession_postStreaming_Params) Message

func (WebSession_postStreaming_Params) MimeType

func (WebSession_postStreaming_Params) MimeTypeBytes

func (s WebSession_postStreaming_Params) MimeTypeBytes() ([]byte, error)

func (WebSession_postStreaming_Params) NewContext

NewContext sets the context field to a newly allocated WebSession_Context struct, preferring placement in s's segment.

func (WebSession_postStreaming_Params) Path

func (WebSession_postStreaming_Params) PathBytes

func (s WebSession_postStreaming_Params) PathBytes() ([]byte, error)

func (WebSession_postStreaming_Params) Segment

func (WebSession_postStreaming_Params) SetContext

func (WebSession_postStreaming_Params) SetEncoding

func (s WebSession_postStreaming_Params) SetEncoding(v string) error

func (WebSession_postStreaming_Params) SetMimeType

func (s WebSession_postStreaming_Params) SetMimeType(v string) error

func (WebSession_postStreaming_Params) SetPath

func (WebSession_postStreaming_Params) String

func (WebSession_postStreaming_Params) ToPtr

type WebSession_postStreaming_Params_Future

type WebSession_postStreaming_Params_Future struct{ *capnp.Future }

WebSession_postStreaming_Params_Future is a wrapper for a WebSession_postStreaming_Params promised by a client call.

func (WebSession_postStreaming_Params_Future) Context

func (WebSession_postStreaming_Params_Future) Struct

type WebSession_postStreaming_Params_List

type WebSession_postStreaming_Params_List = capnp.StructList[WebSession_postStreaming_Params]

WebSession_postStreaming_Params_List is a list of WebSession_postStreaming_Params.

func NewWebSession_postStreaming_Params_List

func NewWebSession_postStreaming_Params_List(s *capnp.Segment, sz int32) (WebSession_postStreaming_Params_List, error)

NewWebSession_postStreaming_Params creates a new list of WebSession_postStreaming_Params.

type WebSession_postStreaming_Results

type WebSession_postStreaming_Results capnp.Struct

func NewRootWebSession_postStreaming_Results

func NewRootWebSession_postStreaming_Results(s *capnp.Segment) (WebSession_postStreaming_Results, error)

func NewWebSession_postStreaming_Results

func NewWebSession_postStreaming_Results(s *capnp.Segment) (WebSession_postStreaming_Results, error)

func ReadRootWebSession_postStreaming_Results

func ReadRootWebSession_postStreaming_Results(msg *capnp.Message) (WebSession_postStreaming_Results, error)

func (WebSession_postStreaming_Results) DecodeFromPtr

func (WebSession_postStreaming_Results) EncodeAsPtr

func (WebSession_postStreaming_Results) HasStream

func (s WebSession_postStreaming_Results) HasStream() bool

func (WebSession_postStreaming_Results) IsValid

func (WebSession_postStreaming_Results) Message

func (WebSession_postStreaming_Results) Segment

func (WebSession_postStreaming_Results) SetStream

func (WebSession_postStreaming_Results) Stream

func (WebSession_postStreaming_Results) String

func (WebSession_postStreaming_Results) ToPtr

type WebSession_postStreaming_Results_Future

type WebSession_postStreaming_Results_Future struct{ *capnp.Future }

WebSession_postStreaming_Results_Future is a wrapper for a WebSession_postStreaming_Results promised by a client call.

func (WebSession_postStreaming_Results_Future) Stream

func (WebSession_postStreaming_Results_Future) Struct

type WebSession_postStreaming_Results_List

type WebSession_postStreaming_Results_List = capnp.StructList[WebSession_postStreaming_Results]

WebSession_postStreaming_Results_List is a list of WebSession_postStreaming_Results.

func NewWebSession_postStreaming_Results_List

func NewWebSession_postStreaming_Results_List(s *capnp.Segment, sz int32) (WebSession_postStreaming_Results_List, error)

NewWebSession_postStreaming_Results creates a new list of WebSession_postStreaming_Results.

type WebSession_post_Params

type WebSession_post_Params capnp.Struct

func NewRootWebSession_post_Params

func NewRootWebSession_post_Params(s *capnp.Segment) (WebSession_post_Params, error)

func NewWebSession_post_Params

func NewWebSession_post_Params(s *capnp.Segment) (WebSession_post_Params, error)

func ReadRootWebSession_post_Params

func ReadRootWebSession_post_Params(msg *capnp.Message) (WebSession_post_Params, error)

func (WebSession_post_Params) Content

func (WebSession_post_Params) Context

func (WebSession_post_Params) DecodeFromPtr

func (WebSession_post_Params) EncodeAsPtr

func (s WebSession_post_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_post_Params) HasContent

func (s WebSession_post_Params) HasContent() bool

func (WebSession_post_Params) HasContext

func (s WebSession_post_Params) HasContext() bool

func (WebSession_post_Params) HasPath

func (s WebSession_post_Params) HasPath() bool

func (WebSession_post_Params) IsValid

func (s WebSession_post_Params) IsValid() bool

func (WebSession_post_Params) Message

func (s WebSession_post_Params) Message() *capnp.Message

func (WebSession_post_Params) NewContent

NewContent sets the content field to a newly allocated WebSession_PostContent struct, preferring placement in s's segment.

func (WebSession_post_Params) NewContext

NewContext sets the context field to a newly allocated WebSession_Context struct, preferring placement in s's segment.

func (WebSession_post_Params) Path

func (s WebSession_post_Params) Path() (string, error)

func (WebSession_post_Params) PathBytes

func (s WebSession_post_Params) PathBytes() ([]byte, error)

func (WebSession_post_Params) Segment

func (s WebSession_post_Params) Segment() *capnp.Segment

func (WebSession_post_Params) SetContent

func (WebSession_post_Params) SetContext

func (WebSession_post_Params) SetPath

func (s WebSession_post_Params) SetPath(v string) error

func (WebSession_post_Params) String

func (s WebSession_post_Params) String() string

func (WebSession_post_Params) ToPtr

func (s WebSession_post_Params) ToPtr() capnp.Ptr

type WebSession_post_Params_Future

type WebSession_post_Params_Future struct{ *capnp.Future }

WebSession_post_Params_Future is a wrapper for a WebSession_post_Params promised by a client call.

func (WebSession_post_Params_Future) Content

func (WebSession_post_Params_Future) Context

func (WebSession_post_Params_Future) Struct

type WebSession_post_Params_List

type WebSession_post_Params_List = capnp.StructList[WebSession_post_Params]

WebSession_post_Params_List is a list of WebSession_post_Params.

func NewWebSession_post_Params_List

func NewWebSession_post_Params_List(s *capnp.Segment, sz int32) (WebSession_post_Params_List, error)

NewWebSession_post_Params creates a new list of WebSession_post_Params.

type WebSession_propfind

type WebSession_propfind struct {
	*server.Call
}

WebSession_propfind holds the state for a server call to WebSession.propfind. See server.Call for documentation.

func (WebSession_propfind) AllocResults

func (c WebSession_propfind) AllocResults() (WebSession_Response, error)

AllocResults allocates the results struct.

func (WebSession_propfind) Args

Args returns the call's arguments.

type WebSession_propfind_Params

type WebSession_propfind_Params capnp.Struct

func NewRootWebSession_propfind_Params

func NewRootWebSession_propfind_Params(s *capnp.Segment) (WebSession_propfind_Params, error)

func NewWebSession_propfind_Params

func NewWebSession_propfind_Params(s *capnp.Segment) (WebSession_propfind_Params, error)

func ReadRootWebSession_propfind_Params

func ReadRootWebSession_propfind_Params(msg *capnp.Message) (WebSession_propfind_Params, error)

func (WebSession_propfind_Params) Context

func (WebSession_propfind_Params) DecodeFromPtr

func (WebSession_propfind_Params) Depth

func (WebSession_propfind_Params) EncodeAsPtr

func (s WebSession_propfind_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_propfind_Params) HasContext

func (s WebSession_propfind_Params) HasContext() bool

func (WebSession_propfind_Params) HasPath

func (s WebSession_propfind_Params) HasPath() bool

func (WebSession_propfind_Params) HasXmlContent

func (s WebSession_propfind_Params) HasXmlContent() bool

func (WebSession_propfind_Params) IsValid

func (s WebSession_propfind_Params) IsValid() bool

func (WebSession_propfind_Params) Message

func (WebSession_propfind_Params) NewContext

NewContext sets the context field to a newly allocated WebSession_Context struct, preferring placement in s's segment.

func (WebSession_propfind_Params) Path

func (WebSession_propfind_Params) PathBytes

func (s WebSession_propfind_Params) PathBytes() ([]byte, error)

func (WebSession_propfind_Params) Segment

func (WebSession_propfind_Params) SetContext

func (WebSession_propfind_Params) SetDepth

func (WebSession_propfind_Params) SetPath

func (WebSession_propfind_Params) SetXmlContent

func (s WebSession_propfind_Params) SetXmlContent(v string) error

func (WebSession_propfind_Params) String

func (WebSession_propfind_Params) ToPtr

func (WebSession_propfind_Params) XmlContent

func (s WebSession_propfind_Params) XmlContent() (string, error)

func (WebSession_propfind_Params) XmlContentBytes

func (s WebSession_propfind_Params) XmlContentBytes() ([]byte, error)

type WebSession_propfind_Params_Future

type WebSession_propfind_Params_Future struct{ *capnp.Future }

WebSession_propfind_Params_Future is a wrapper for a WebSession_propfind_Params promised by a client call.

func (WebSession_propfind_Params_Future) Context

func (WebSession_propfind_Params_Future) Struct

type WebSession_propfind_Params_List

type WebSession_propfind_Params_List = capnp.StructList[WebSession_propfind_Params]

WebSession_propfind_Params_List is a list of WebSession_propfind_Params.

func NewWebSession_propfind_Params_List

func NewWebSession_propfind_Params_List(s *capnp.Segment, sz int32) (WebSession_propfind_Params_List, error)

NewWebSession_propfind_Params creates a new list of WebSession_propfind_Params.

type WebSession_proppatch

type WebSession_proppatch struct {
	*server.Call
}

WebSession_proppatch holds the state for a server call to WebSession.proppatch. See server.Call for documentation.

func (WebSession_proppatch) AllocResults

func (c WebSession_proppatch) AllocResults() (WebSession_Response, error)

AllocResults allocates the results struct.

func (WebSession_proppatch) Args

Args returns the call's arguments.

type WebSession_proppatch_Params

type WebSession_proppatch_Params capnp.Struct

func NewRootWebSession_proppatch_Params

func NewRootWebSession_proppatch_Params(s *capnp.Segment) (WebSession_proppatch_Params, error)

func NewWebSession_proppatch_Params

func NewWebSession_proppatch_Params(s *capnp.Segment) (WebSession_proppatch_Params, error)

func ReadRootWebSession_proppatch_Params

func ReadRootWebSession_proppatch_Params(msg *capnp.Message) (WebSession_proppatch_Params, error)

func (WebSession_proppatch_Params) Context

func (WebSession_proppatch_Params) DecodeFromPtr

func (WebSession_proppatch_Params) EncodeAsPtr

func (s WebSession_proppatch_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_proppatch_Params) HasContext

func (s WebSession_proppatch_Params) HasContext() bool

func (WebSession_proppatch_Params) HasPath

func (s WebSession_proppatch_Params) HasPath() bool

func (WebSession_proppatch_Params) HasXmlContent

func (s WebSession_proppatch_Params) HasXmlContent() bool

func (WebSession_proppatch_Params) IsValid

func (s WebSession_proppatch_Params) IsValid() bool

func (WebSession_proppatch_Params) Message

func (WebSession_proppatch_Params) NewContext

NewContext sets the context field to a newly allocated WebSession_Context struct, preferring placement in s's segment.

func (WebSession_proppatch_Params) Path

func (WebSession_proppatch_Params) PathBytes

func (s WebSession_proppatch_Params) PathBytes() ([]byte, error)

func (WebSession_proppatch_Params) Segment

func (WebSession_proppatch_Params) SetContext

func (WebSession_proppatch_Params) SetPath

func (WebSession_proppatch_Params) SetXmlContent

func (s WebSession_proppatch_Params) SetXmlContent(v string) error

func (WebSession_proppatch_Params) String

func (WebSession_proppatch_Params) ToPtr

func (WebSession_proppatch_Params) XmlContent

func (s WebSession_proppatch_Params) XmlContent() (string, error)

func (WebSession_proppatch_Params) XmlContentBytes

func (s WebSession_proppatch_Params) XmlContentBytes() ([]byte, error)

type WebSession_proppatch_Params_Future

type WebSession_proppatch_Params_Future struct{ *capnp.Future }

WebSession_proppatch_Params_Future is a wrapper for a WebSession_proppatch_Params promised by a client call.

func (WebSession_proppatch_Params_Future) Context

func (WebSession_proppatch_Params_Future) Struct

type WebSession_proppatch_Params_List

type WebSession_proppatch_Params_List = capnp.StructList[WebSession_proppatch_Params]

WebSession_proppatch_Params_List is a list of WebSession_proppatch_Params.

func NewWebSession_proppatch_Params_List

func NewWebSession_proppatch_Params_List(s *capnp.Segment, sz int32) (WebSession_proppatch_Params_List, error)

NewWebSession_proppatch_Params creates a new list of WebSession_proppatch_Params.

type WebSession_put

type WebSession_put struct {
	*server.Call
}

WebSession_put holds the state for a server call to WebSession.put. See server.Call for documentation.

func (WebSession_put) AllocResults

func (c WebSession_put) AllocResults() (WebSession_Response, error)

AllocResults allocates the results struct.

func (WebSession_put) Args

Args returns the call's arguments.

type WebSession_putStreaming

type WebSession_putStreaming struct {
	*server.Call
}

WebSession_putStreaming holds the state for a server call to WebSession.putStreaming. See server.Call for documentation.

func (WebSession_putStreaming) AllocResults

AllocResults allocates the results struct.

func (WebSession_putStreaming) Args

Args returns the call's arguments.

type WebSession_putStreaming_Params

type WebSession_putStreaming_Params capnp.Struct

func NewRootWebSession_putStreaming_Params

func NewRootWebSession_putStreaming_Params(s *capnp.Segment) (WebSession_putStreaming_Params, error)

func NewWebSession_putStreaming_Params

func NewWebSession_putStreaming_Params(s *capnp.Segment) (WebSession_putStreaming_Params, error)

func ReadRootWebSession_putStreaming_Params

func ReadRootWebSession_putStreaming_Params(msg *capnp.Message) (WebSession_putStreaming_Params, error)

func (WebSession_putStreaming_Params) Context

func (WebSession_putStreaming_Params) DecodeFromPtr

func (WebSession_putStreaming_Params) EncodeAsPtr

func (WebSession_putStreaming_Params) Encoding

func (WebSession_putStreaming_Params) EncodingBytes

func (s WebSession_putStreaming_Params) EncodingBytes() ([]byte, error)

func (WebSession_putStreaming_Params) HasContext

func (s WebSession_putStreaming_Params) HasContext() bool

func (WebSession_putStreaming_Params) HasEncoding

func (s WebSession_putStreaming_Params) HasEncoding() bool

func (WebSession_putStreaming_Params) HasMimeType

func (s WebSession_putStreaming_Params) HasMimeType() bool

func (WebSession_putStreaming_Params) HasPath

func (WebSession_putStreaming_Params) IsValid

func (WebSession_putStreaming_Params) Message

func (WebSession_putStreaming_Params) MimeType

func (WebSession_putStreaming_Params) MimeTypeBytes

func (s WebSession_putStreaming_Params) MimeTypeBytes() ([]byte, error)

func (WebSession_putStreaming_Params) NewContext

NewContext sets the context field to a newly allocated WebSession_Context struct, preferring placement in s's segment.

func (WebSession_putStreaming_Params) Path

func (WebSession_putStreaming_Params) PathBytes

func (s WebSession_putStreaming_Params) PathBytes() ([]byte, error)

func (WebSession_putStreaming_Params) Segment

func (WebSession_putStreaming_Params) SetContext

func (WebSession_putStreaming_Params) SetEncoding

func (s WebSession_putStreaming_Params) SetEncoding(v string) error

func (WebSession_putStreaming_Params) SetMimeType

func (s WebSession_putStreaming_Params) SetMimeType(v string) error

func (WebSession_putStreaming_Params) SetPath

func (WebSession_putStreaming_Params) String

func (WebSession_putStreaming_Params) ToPtr

type WebSession_putStreaming_Params_Future

type WebSession_putStreaming_Params_Future struct{ *capnp.Future }

WebSession_putStreaming_Params_Future is a wrapper for a WebSession_putStreaming_Params promised by a client call.

func (WebSession_putStreaming_Params_Future) Context

func (WebSession_putStreaming_Params_Future) Struct

type WebSession_putStreaming_Params_List

type WebSession_putStreaming_Params_List = capnp.StructList[WebSession_putStreaming_Params]

WebSession_putStreaming_Params_List is a list of WebSession_putStreaming_Params.

func NewWebSession_putStreaming_Params_List

func NewWebSession_putStreaming_Params_List(s *capnp.Segment, sz int32) (WebSession_putStreaming_Params_List, error)

NewWebSession_putStreaming_Params creates a new list of WebSession_putStreaming_Params.

type WebSession_putStreaming_Results

type WebSession_putStreaming_Results capnp.Struct

func NewRootWebSession_putStreaming_Results

func NewRootWebSession_putStreaming_Results(s *capnp.Segment) (WebSession_putStreaming_Results, error)

func NewWebSession_putStreaming_Results

func NewWebSession_putStreaming_Results(s *capnp.Segment) (WebSession_putStreaming_Results, error)

func ReadRootWebSession_putStreaming_Results

func ReadRootWebSession_putStreaming_Results(msg *capnp.Message) (WebSession_putStreaming_Results, error)

func (WebSession_putStreaming_Results) DecodeFromPtr

func (WebSession_putStreaming_Results) EncodeAsPtr

func (WebSession_putStreaming_Results) HasStream

func (s WebSession_putStreaming_Results) HasStream() bool

func (WebSession_putStreaming_Results) IsValid

func (WebSession_putStreaming_Results) Message

func (WebSession_putStreaming_Results) Segment

func (WebSession_putStreaming_Results) SetStream

func (WebSession_putStreaming_Results) Stream

func (WebSession_putStreaming_Results) String

func (WebSession_putStreaming_Results) ToPtr

type WebSession_putStreaming_Results_Future

type WebSession_putStreaming_Results_Future struct{ *capnp.Future }

WebSession_putStreaming_Results_Future is a wrapper for a WebSession_putStreaming_Results promised by a client call.

func (WebSession_putStreaming_Results_Future) Stream

func (WebSession_putStreaming_Results_Future) Struct

type WebSession_putStreaming_Results_List

type WebSession_putStreaming_Results_List = capnp.StructList[WebSession_putStreaming_Results]

WebSession_putStreaming_Results_List is a list of WebSession_putStreaming_Results.

func NewWebSession_putStreaming_Results_List

func NewWebSession_putStreaming_Results_List(s *capnp.Segment, sz int32) (WebSession_putStreaming_Results_List, error)

NewWebSession_putStreaming_Results creates a new list of WebSession_putStreaming_Results.

type WebSession_put_Params

type WebSession_put_Params capnp.Struct

func NewRootWebSession_put_Params

func NewRootWebSession_put_Params(s *capnp.Segment) (WebSession_put_Params, error)

func NewWebSession_put_Params

func NewWebSession_put_Params(s *capnp.Segment) (WebSession_put_Params, error)

func ReadRootWebSession_put_Params

func ReadRootWebSession_put_Params(msg *capnp.Message) (WebSession_put_Params, error)

func (WebSession_put_Params) Content

func (WebSession_put_Params) Context

func (WebSession_put_Params) DecodeFromPtr

func (WebSession_put_Params) EncodeAsPtr

func (s WebSession_put_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_put_Params) HasContent

func (s WebSession_put_Params) HasContent() bool

func (WebSession_put_Params) HasContext

func (s WebSession_put_Params) HasContext() bool

func (WebSession_put_Params) HasPath

func (s WebSession_put_Params) HasPath() bool

func (WebSession_put_Params) IsValid

func (s WebSession_put_Params) IsValid() bool

func (WebSession_put_Params) Message

func (s WebSession_put_Params) Message() *capnp.Message

func (WebSession_put_Params) NewContent

NewContent sets the content field to a newly allocated WebSession_PutContent struct, preferring placement in s's segment.

func (WebSession_put_Params) NewContext

NewContext sets the context field to a newly allocated WebSession_Context struct, preferring placement in s's segment.

func (WebSession_put_Params) Path

func (s WebSession_put_Params) Path() (string, error)

func (WebSession_put_Params) PathBytes

func (s WebSession_put_Params) PathBytes() ([]byte, error)

func (WebSession_put_Params) Segment

func (s WebSession_put_Params) Segment() *capnp.Segment

func (WebSession_put_Params) SetContent

func (WebSession_put_Params) SetContext

func (WebSession_put_Params) SetPath

func (s WebSession_put_Params) SetPath(v string) error

func (WebSession_put_Params) String

func (s WebSession_put_Params) String() string

func (WebSession_put_Params) ToPtr

func (s WebSession_put_Params) ToPtr() capnp.Ptr

type WebSession_put_Params_Future

type WebSession_put_Params_Future struct{ *capnp.Future }

WebSession_put_Params_Future is a wrapper for a WebSession_put_Params promised by a client call.

func (WebSession_put_Params_Future) Content

func (WebSession_put_Params_Future) Context

func (WebSession_put_Params_Future) Struct

type WebSession_put_Params_List

type WebSession_put_Params_List = capnp.StructList[WebSession_put_Params]

WebSession_put_Params_List is a list of WebSession_put_Params.

func NewWebSession_put_Params_List

func NewWebSession_put_Params_List(s *capnp.Segment, sz int32) (WebSession_put_Params_List, error)

NewWebSession_put_Params creates a new list of WebSession_put_Params.

type WebSession_report

type WebSession_report struct {
	*server.Call
}

WebSession_report holds the state for a server call to WebSession.report. See server.Call for documentation.

func (WebSession_report) AllocResults

func (c WebSession_report) AllocResults() (WebSession_Response, error)

AllocResults allocates the results struct.

func (WebSession_report) Args

Args returns the call's arguments.

type WebSession_report_Params

type WebSession_report_Params capnp.Struct

func NewRootWebSession_report_Params

func NewRootWebSession_report_Params(s *capnp.Segment) (WebSession_report_Params, error)

func NewWebSession_report_Params

func NewWebSession_report_Params(s *capnp.Segment) (WebSession_report_Params, error)

func ReadRootWebSession_report_Params

func ReadRootWebSession_report_Params(msg *capnp.Message) (WebSession_report_Params, error)

func (WebSession_report_Params) Content

func (WebSession_report_Params) Context

func (WebSession_report_Params) DecodeFromPtr

func (WebSession_report_Params) EncodeAsPtr

func (s WebSession_report_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_report_Params) HasContent

func (s WebSession_report_Params) HasContent() bool

func (WebSession_report_Params) HasContext

func (s WebSession_report_Params) HasContext() bool

func (WebSession_report_Params) HasPath

func (s WebSession_report_Params) HasPath() bool

func (WebSession_report_Params) IsValid

func (s WebSession_report_Params) IsValid() bool

func (WebSession_report_Params) Message

func (s WebSession_report_Params) Message() *capnp.Message

func (WebSession_report_Params) NewContent

NewContent sets the content field to a newly allocated WebSession_PostContent struct, preferring placement in s's segment.

func (WebSession_report_Params) NewContext

NewContext sets the context field to a newly allocated WebSession_Context struct, preferring placement in s's segment.

func (WebSession_report_Params) Path

func (WebSession_report_Params) PathBytes

func (s WebSession_report_Params) PathBytes() ([]byte, error)

func (WebSession_report_Params) Segment

func (s WebSession_report_Params) Segment() *capnp.Segment

func (WebSession_report_Params) SetContent

func (WebSession_report_Params) SetContext

func (WebSession_report_Params) SetPath

func (s WebSession_report_Params) SetPath(v string) error

func (WebSession_report_Params) String

func (s WebSession_report_Params) String() string

func (WebSession_report_Params) ToPtr

type WebSession_report_Params_Future

type WebSession_report_Params_Future struct{ *capnp.Future }

WebSession_report_Params_Future is a wrapper for a WebSession_report_Params promised by a client call.

func (WebSession_report_Params_Future) Content

func (WebSession_report_Params_Future) Context

func (WebSession_report_Params_Future) Struct

type WebSession_report_Params_List

type WebSession_report_Params_List = capnp.StructList[WebSession_report_Params]

WebSession_report_Params_List is a list of WebSession_report_Params.

func NewWebSession_report_Params_List

func NewWebSession_report_Params_List(s *capnp.Segment, sz int32) (WebSession_report_Params_List, error)

NewWebSession_report_Params creates a new list of WebSession_report_Params.

type WebSession_unlock

type WebSession_unlock struct {
	*server.Call
}

WebSession_unlock holds the state for a server call to WebSession.unlock. See server.Call for documentation.

func (WebSession_unlock) AllocResults

func (c WebSession_unlock) AllocResults() (WebSession_Response, error)

AllocResults allocates the results struct.

func (WebSession_unlock) Args

Args returns the call's arguments.

type WebSession_unlock_Params

type WebSession_unlock_Params capnp.Struct

func NewRootWebSession_unlock_Params

func NewRootWebSession_unlock_Params(s *capnp.Segment) (WebSession_unlock_Params, error)

func NewWebSession_unlock_Params

func NewWebSession_unlock_Params(s *capnp.Segment) (WebSession_unlock_Params, error)

func ReadRootWebSession_unlock_Params

func ReadRootWebSession_unlock_Params(msg *capnp.Message) (WebSession_unlock_Params, error)

func (WebSession_unlock_Params) Context

func (WebSession_unlock_Params) DecodeFromPtr

func (WebSession_unlock_Params) EncodeAsPtr

func (s WebSession_unlock_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (WebSession_unlock_Params) HasContext

func (s WebSession_unlock_Params) HasContext() bool

func (WebSession_unlock_Params) HasLockToken

func (s WebSession_unlock_Params) HasLockToken() bool

func (WebSession_unlock_Params) HasPath

func (s WebSession_unlock_Params) HasPath() bool

func (WebSession_unlock_Params) IsValid

func (s WebSession_unlock_Params) IsValid() bool

func (WebSession_unlock_Params) LockToken

func (s WebSession_unlock_Params) LockToken() (string, error)

func (WebSession_unlock_Params) LockTokenBytes

func (s WebSession_unlock_Params) LockTokenBytes() ([]byte, error)

func (WebSession_unlock_Params) Message

func (s WebSession_unlock_Params) Message() *capnp.Message

func (WebSession_unlock_Params) NewContext

NewContext sets the context field to a newly allocated WebSession_Context struct, preferring placement in s's segment.

func (WebSession_unlock_Params) Path

func (WebSession_unlock_Params) PathBytes

func (s WebSession_unlock_Params) PathBytes() ([]byte, error)

func (WebSession_unlock_Params) Segment

func (s WebSession_unlock_Params) Segment() *capnp.Segment

func (WebSession_unlock_Params) SetContext

func (WebSession_unlock_Params) SetLockToken

func (s WebSession_unlock_Params) SetLockToken(v string) error

func (WebSession_unlock_Params) SetPath

func (s WebSession_unlock_Params) SetPath(v string) error

func (WebSession_unlock_Params) String

func (s WebSession_unlock_Params) String() string

func (WebSession_unlock_Params) ToPtr

type WebSession_unlock_Params_Future

type WebSession_unlock_Params_Future struct{ *capnp.Future }

WebSession_unlock_Params_Future is a wrapper for a WebSession_unlock_Params promised by a client call.

func (WebSession_unlock_Params_Future) Context

func (WebSession_unlock_Params_Future) Struct

type WebSession_unlock_Params_List

type WebSession_unlock_Params_List = capnp.StructList[WebSession_unlock_Params]

WebSession_unlock_Params_List is a list of WebSession_unlock_Params.

func NewWebSession_unlock_Params_List

func NewWebSession_unlock_Params_List(s *capnp.Segment, sz int32) (WebSession_unlock_Params_List, error)

NewWebSession_unlock_Params creates a new list of WebSession_unlock_Params.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL