core
core
japgolly.webapputil.ajax
AjaxProtocol
Simple
AjaxProtocol
japgolly.webapputil.binary
BinaryData
BinaryData
BinaryData_PlatformSpecific_Instance
BinaryData_PlatformSpecific_Object
CodecEngine
CodecEngine
japgolly.webapputil.entrypoint
EntrypointDef
EntrypointDef
Codec
ClearText
Codec
EntrypointInvoker
EntrypointInvoker
Html
Html
Js
Js
Wrapper
Wrapper
LoadJs
Bundle
Bundle
Resource
Resource
japgolly.webapputil.general
AbstractMultiStringMap
AbstractMultiStringMap
Module
Allow
Deny
Disabled
Effect
Effect
Async
Monad
Sync
Effect_PlatformSpecific
Enabled
Enabled
ErrorMsg
ErrorMsg
ClientSide
Exception
LazyVal
LazyVal
MultiStringMap
MultiStringMap
Permission
Permission
Protocol
Protocol
AndValue
AndValue
RequestResponse
PreparedSend
PreparedSend
RequestResponse
WebSocket
ClientReqServerPush
Retries
Retries
SetOnceVar
SetOnceVar
ThreadUtils
ExecutionContextExt
Scheduler
ThreadGroups
ThreadPool
ThreadPool2
Url
Absolute
Absolute
Base
Base
Param1
Relative
Relative
MutableMap
Param1
Param2
Version
Version
Major
Minor
japgolly.webapputil.http
Cookie
Cookie
LookupFn
Name
Update
Update
HttpClient
Body
Form
Form
Str
Body
ContentType
Headers
Headers
HttpClientType
LibraryTypes
Method
Method
Module
Module
Request
Request
RequestCtors
Response
ResponseBody
Status
UriParams
UriParams
UrlEncoder
UrlEncoderApi
japgolly.webapputil.locks
GenericSharedLock
Safe
Default
ExportObject
ExportObjectF
Locked
ReadWrite
ReadWrite
Safe
Unsafe
Default
ExportObject
Locked
ReadWrite
ReadWrite
Unsafe
LockMechanism
LockMechanism
Interruptibly
LimitWaitTime
LockUtils
SharedLock
SharedLock
ReadWrite
ReadWrite
Stamped
japgolly.webapputil.websocket
WebSocketServerUtil
CloseReasons
CustomCloseCode
CustomCloseCode
Implicits
UserPropsLens
UserPropsLens
WebSocketShared
CloseCode
CloseCode
CloseReason
CloseReason
CloseReasonPhrase
CloseReasonPhrase
ReqId
ReqId
core
/
japgolly.webapputil.websocket
/
WebSocketShared
WebSocketShared
object
WebSocketShared
Graph
Supertypes
Self type
class
Object
trait
Matchable
class
Any
WebSocketShared
.type
Type members
Value members
Type members
Classlikes
final case
class
CloseCode
(
value:
Int
)
Companion:
object
object
CloseCode
Companion:
class
final case
class
CloseReason
(
code:
CloseCode
,
phrase:
CloseReasonPhrase
)
Companion:
object
object
CloseReason
Companion:
class
final case
class
CloseReasonPhrase
(
value:
String
)
Companion:
object
object
CloseReasonPhrase
Companion:
class
final case
class
ReqId
(
value:
Int
)
Companion:
object
object
ReqId
Companion:
class
Types
type
ClientToServer
[
Req
] = (
ReqId
,
Req
)
type
ServerToClient
[
Codec
[
_
],
Push
] =
Either
[
Push
, (
ReqId
,
AndValue
[
Codec
])]
Value members
Concrete methods
def
limitUtf8Bytes
(
s:
String
,
maxBytes:
Int
):
String
Returns a prefix of a string such that it's utf-8 encoding doesn't exceed a given number of bytes.
Returns a prefix of a string such that it's utf-8 encoding doesn't exceed a given number of bytes.